From c5fcc7d338e17b394e9cdf297097181dace1319b Mon Sep 17 00:00:00 2001 From: winLsy <18332763730@163.com> Date: Thu, 25 Jan 2018 22:19:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A1=B9=E7=9B=AE=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +- .../response/Const.ServerResponseCode.html | 2 +- .../com/micro/fast/common/response/Const.html | 2 +- .../fast/common/response/ServerResponse.html | 2 +- .../class-use/Const.ServerResponseCode.html | 6 +- .../fast/common/response/class-use/Const.html | 4 +- .../response/class-use/ServerResponse.html | 4 +- boot-starter/boot-starter-common/pom.xml | 42 +++ .../common/exception/SystemException.java | 2 +- .../common/exception/UserException.java | 2 +- .../BaseExceptionHandlerController.java | 10 +- .../common/exception/package-info.java | 2 +- .../boot/starter/common/package-info.java | 1 + .../starter}/common/response/BaseConst.java | 216 +++++++------- .../common/response/ServerResponse.java | 264 +++++++++--------- .../common/response/package-info.java | 2 +- .../starter/common}/util/ExceptionUtil.java | 2 +- .../starter/common/util/package-info.java | 1 + .../boot-starter-security-oauth/pom.xml | 5 + .../app/controller/SecurityController.java | 8 +- .../security/app/reponse/ServerResponse.java | 133 --------- boot-starter/boot-starter-ssm/pom.xml | 5 + boot-starter/pom.xml | 1 + .../fast/oauth/feign/UpmsUserService.java | 3 +- .../oauth/impl/UserDetailsServiceImpl.java | 4 +- ms/pom.xml | 5 + .../com/micro/fast/upms/UpmsApplication.java | 6 + .../upms/controller/UpmsUserController.java | 23 +- .../UpmsExceptionHandlerController.java | 2 +- .../com/micro/fast/upms/pojo/UpmsUser.java | 2 +- .../fast/upms/service/UpmsUserService.java | 2 +- .../service/impl/UpmsUserServiceImpl.java | 25 +- 32 files changed, 372 insertions(+), 427 deletions(-) create mode 100644 boot-starter/boot-starter-common/pom.xml rename boot-starter/{boot-starter-ssm/src/main/java/com/micro/fast => boot-starter-common/src/main/java/com/micro/fast/boot/starter}/common/exception/SystemException.java (78%) rename boot-starter/{boot-starter-ssm/src/main/java/com/micro/fast => boot-starter-common/src/main/java/com/micro/fast/boot/starter}/common/exception/UserException.java (75%) rename boot-starter/{boot-starter-ssm/src/main/java/com/micro/fast => boot-starter-common/src/main/java/com/micro/fast/boot/starter}/common/exception/handler/BaseExceptionHandlerController.java (85%) rename boot-starter/{boot-starter-ssm/src/main/java/com/micro/fast => boot-starter-common/src/main/java/com/micro/fast/boot/starter}/common/exception/package-info.java (69%) create mode 100644 boot-starter/boot-starter-common/src/main/java/com/micro/fast/boot/starter/common/package-info.java rename boot-starter/{boot-starter-ssm/src/main/java/com/micro/fast => boot-starter-common/src/main/java/com/micro/fast/boot/starter}/common/response/BaseConst.java (91%) rename boot-starter/{boot-starter-ssm/src/main/java/com/micro/fast => boot-starter-common/src/main/java/com/micro/fast/boot/starter}/common/response/ServerResponse.java (94%) rename boot-starter/{boot-starter-ssm/src/main/java/com/micro/fast => boot-starter-common/src/main/java/com/micro/fast/boot/starter}/common/response/package-info.java (69%) rename boot-starter/{boot-starter-util/src/main/java/com/micro/fast => boot-starter-common/src/main/java/com/micro/fast/boot/starter/common}/util/ExceptionUtil.java (91%) create mode 100644 boot-starter/boot-starter-common/src/main/java/com/micro/fast/boot/starter/common/util/package-info.java delete mode 100644 boot-starter/boot-starter-security-oauth/src/main/java/com/micro/fast/security/app/reponse/ServerResponse.java diff --git a/README.md b/README.md index 6243326..51ee062 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,7 @@ micro-fast | ├── boot-starter-fastdfs-client -- fastdfs客户端 | ├── boot-starter-maven-plugin -- maven的一系列插件 | | └── mybatis-generator-extend-maven-plugin -- 用于简化mybatis-generator生成代码的流程 -| ├── boot-starter-security -- 权限认证  -| | ├── boot-starter-security-core -- 权限认证核心项目 -| | ├── boot-starter-security-browser -- 浏览器权限认证 -| | ├── boot-starter-security-app -- app权限认证 -| | └── boot-starter-security-demo -- 权限认证示例项目 +| ├── boot-starter-security-oauth -- 权限认证  | ├── boot-starter-ssm -- ssm公共配置 | └── boot-starter-util -- 常用工具 ├── ms -- 分布式系统 @@ -24,9 +20,9 @@ micro-fast | ├── register-center1 -- 高可用注册中心 | ├── register-center2 -- 高可用注册中心 | ├── gateway -- 服务网关 +| ├── oauth -- 认证中心 | ├── upms -- 权限管理系统 -| ├── ucenter -- 用户中心 -| └── cms -- cms系统 +| └── ucenter -- 用户中心 ├── ms-web -- 后台管理系统页面 ├── all-in-one -- ms系统的集中式实现 @@ -52,6 +48,7 @@ vuex| 3.0.1 | 单向数据流 | [官网](https://vuex.vuejs.org/zh-cn/) axios| 0.17.1 | ajax请求框架 | [github地址](https://github.com/axios/axios) elemnet-ui | 2.0.8 | 前端视图库 | [官网](http://element-cn.eleme.io/#/zh-CN/component/installation) swagger | 2.6.1 | 文档生成 | [官网](https://swagger.io/) +lombok | 1.16.6.1|代码工具|[官网](https://projectlombok.org/features/all) ## 整体开发进度 ## 各模块的详细介绍 diff --git a/all/javaDoc/com/micro/fast/common/response/Const.ServerResponseCode.html b/all/javaDoc/com/micro/fast/common/response/Const.ServerResponseCode.html index e50001c..fcb90df 100644 --- a/all/javaDoc/com/micro/fast/common/response/Const.ServerResponseCode.html +++ b/all/javaDoc/com/micro/fast/common/response/Const.ServerResponseCode.html @@ -104,7 +104,7 @@ var activeTableTab = "activeTableTab";
  • java.lang.Enum<Const.ServerResponseCode>
  • diff --git a/all/javaDoc/com/micro/fast/common/response/Const.html b/all/javaDoc/com/micro/fast/common/response/Const.html index 5b56309..a662f21 100644 --- a/all/javaDoc/com/micro/fast/common/response/Const.html +++ b/all/javaDoc/com/micro/fast/common/response/Const.html @@ -95,7 +95,7 @@
  • java.lang.Object
  • diff --git a/all/javaDoc/com/micro/fast/common/response/ServerResponse.html b/all/javaDoc/com/micro/fast/common/response/ServerResponse.html index b082c00..689ae3a 100644 --- a/all/javaDoc/com/micro/fast/common/response/ServerResponse.html +++ b/all/javaDoc/com/micro/fast/common/response/ServerResponse.html @@ -101,7 +101,7 @@ var activeTableTab = "activeTableTab";
  • java.lang.Object
  • diff --git a/all/javaDoc/com/micro/fast/common/response/class-use/Const.ServerResponseCode.html b/all/javaDoc/com/micro/fast/common/response/class-use/Const.ServerResponseCode.html index 333098d..e5e0beb 100644 --- a/all/javaDoc/com/micro/fast/common/response/class-use/Const.ServerResponseCode.html +++ b/all/javaDoc/com/micro/fast/common/response/class-use/Const.ServerResponseCode.html @@ -4,7 +4,7 @@ -类 com.micro.fast.common.response.BaseConst.ServerResponseCode的使用 +类 BaseConst.ServerResponseCode的使用 @@ -13,7 +13,7 @@