From 51cc5466be25d9fe928fae24516d52eeeb25ee17 Mon Sep 17 00:00:00 2001 From: lsy <18332763730@163.com> Date: Mon, 8 Jan 2018 22:35:43 +0800 Subject: [PATCH] =?UTF-8?q?upms=E7=94=A8=E6=88=B7=E6=B3=A8=E5=86=8C,?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86=E5=8A=9F=E8=83=BD=E7=BC=96?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../response/Const.ServerResponseCode.html | 2 +- .../com/micro/fast/common/response/Const.html | 2 +- .../class-use/Const.ServerResponseCode.html | 6 +- .../fast/common/response/class-use/Const.html | 4 +- .../browser/config/BrowserSecurityConfig.java | 4 +- .../common/exception/SystemException.java | 12 ++ .../fast/common/exception/UserException.java | 11 ++ .../micro/fast/common/response/BaseConst.java | 103 +++++++++++ .../com/micro/fast/common/response/Const.java | 35 ---- .../fast/common/response/ServerResponse.java | 175 ++++++++++-------- .../common/util/ExceptionHandlerUtil.java | 12 ++ .../com/micro/fast/util/ExceptionUtil.java | 31 ++++ .../java/com/micro/fast/util/XmlUtil.java | 2 +- ms-web/config/index.js | 2 +- ms-web/src/components/Register.vue | 3 +- .../upms/controller/UpmsUserController.java | 50 +++++ .../handler/ExceptionHandlerController.java | 47 +++++ .../micro/fast/upms/dao/UpmsUserMapper.java | 26 ++- .../com/micro/fast/upms/pojo/UpmsUser.java | 7 + .../fast/upms/service/UpmsUserService.java | 34 ++++ .../UpmsUserAuthenticationServiceImpl.java | 31 ++++ .../service/impl/UpmsUserServiceImpl.java | 87 ++++++--- .../main/resources/mappers/UpmsUserMapper.xml | 6 + .../service/impl/UpmsUserServiceImplTest.java | 25 +++ 24 files changed, 566 insertions(+), 151 deletions(-) create mode 100644 boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/exception/SystemException.java create mode 100644 boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/exception/UserException.java create mode 100644 boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/response/BaseConst.java delete mode 100644 boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/response/Const.java create mode 100644 boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/util/ExceptionHandlerUtil.java create mode 100644 boot-starter/boot-starter-util/src/main/java/com/micro/fast/util/ExceptionUtil.java create mode 100644 ms/upms/src/main/java/com/micro/fast/upms/controller/UpmsUserController.java create mode 100644 ms/upms/src/main/java/com/micro/fast/upms/controller/handler/ExceptionHandlerController.java create mode 100644 ms/upms/src/main/java/com/micro/fast/upms/service/UpmsUserService.java create mode 100644 ms/upms/src/main/java/com/micro/fast/upms/service/impl/UpmsUserAuthenticationServiceImpl.java create mode 100644 ms/upms/src/test/java/com/micro/fast/upms/service/impl/UpmsUserServiceImplTest.java 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 278eb8c..e50001c 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 c209a78..5b56309 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/class-use/Const.ServerResponseCode.html b/all/javaDoc/com/micro/fast/common/response/class-use/Const.ServerResponseCode.html index 1d51e79..333098d 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.Const.ServerResponseCode的使用 +类 com.micro.fast.common.response.BaseConst.ServerResponseCode的使用 @@ -13,7 +13,7 @@