From 69a6a73663a2d7b39ddfe9feb9bf8ae52f96580a Mon Sep 17 00:00:00 2001 From: Xiong Neng Date: Thu, 21 Jun 2018 18:35:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AAcxf?= =?UTF-8?q?=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + .../webservice/model/BaseResponse.java | 60 ------------------- 2 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 springboot-cxf/src/main/java/com/xncoding/webservice/model/BaseResponse.java 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; - } - -}