diff --git a/README.md b/README.md index 3def1fe..eb6353a 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ springboot-swagger2 | [集成Swagger2自动生成API文档](https://www. springboot-jwt | [集成JWT实现接口权限认证](https://www.xncoding.com/2017/07/09/spring/sb-jwt.html) springboot-multisource | [多数据源配置](https://www.xncoding.com/2017/07/10/spring/sb-multisource.html) springboot-schedule | [定时任务](https://www.xncoding.com/2017/07/12/spring/sb-schedule.html) +springboot-cxf | [cxf实现WebService](https://www.xncoding.com/2017/07/13/spring/sb-cxf.html) springboot-websocket | [使用WebScoket实时通信](https://www.xncoding.com/2017/07/15/spring/sb-websocket.html) springboot-socketio | [集成SocketIO实时通信](https://www.xncoding.com/2017/07/16/spring/sb-socketio.html) springboot-async | [异步线程池](https://www.xncoding.com/2017/07/20/spring/sb-async.html) diff --git a/springboot-cxf/src/main/java/com/xncoding/webservice/model/BaseResponse.java b/springboot-cxf/src/main/java/com/xncoding/webservice/model/BaseResponse.java deleted file mode 100644 index ccc36ca..0000000 --- a/springboot-cxf/src/main/java/com/xncoding/webservice/model/BaseResponse.java +++ /dev/null @@ -1,60 +0,0 @@ -package com.xncoding.webservice.model; - -/** - * 基础返回类 - * - * @author XiongNeng - * @version 1.0 - * @since 2018/1/7 - */ -public class BaseResponse { - /** - * 是否成功 - */ - private boolean success; - - /** - * 说明 - */ - private String msg; - - /** - * 返回数据 - */ - private T data; - - public BaseResponse() { - - } - - public BaseResponse(boolean success, String msg, T data) { - this.success = success; - this.msg = msg; - this.data = data; - } - - public boolean isSuccess() { - return success; - } - - public void setSuccess(boolean success) { - this.success = success; - } - - public String getMsg() { - return msg; - } - - public void setMsg(String msg) { - this.msg = msg; - } - - public T getData() { - return data; - } - - public void setData(T data) { - this.data = data; - } - -}