From e40646b6c9382eb2e92dc71a5b02405e69fd8b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=82=B1=E9=A3=9E=E4=BA=91?= <1941783199@qq.com>
Date: Sun, 27 Sep 2020 19:04:57 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BE=9D=E8=B5=96=E5=8C=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/compiler.xml | 6 +-
dq-financial-guarantee/pom.xml | 76 -----
.../DqFinancialGuaranteeApplication.java | 13 -
.../src/main/resources/application.properties | 1 -
.../src/main/resources/logback-spring.xml | 47 ---
.../DqFinancialGuaranteeApplicationTests.java | 13 -
dq-financial-hrms-auth/pom.xml | 31 +-
.../financial/hrauth/SpringContextHolder.java | 64 ++++
.../hrauth/config/AuthorizationServer.java | 218 ++++++-------
.../hrauth/config/SecurityConfig.java | 134 ++++----
.../financial/hrauth/config/TokenConfig.java | 44 +--
.../controller/UserLoginController.java | 15 +
.../financial/hrauth/dao/UserLoginDao.java | 3 +
.../hrauth/service/UserLoginService.java | 5 +
.../service/impl/UserLoginServiceImpl.java | 59 +++-
.../daqing/financial/hrauth/util/JwtUtil.java | 71 +++++
.../financial/hrauth/util/RedisUtil.java | 298 ++++++++++++++++++
.../src/main/resources/bootstrap.properties | 2 +-
.../mapper/hrmsauth/UserLoginMapper.xml | 12 +
.../DqFinancialHrmsAuthApplicationTests.java | 26 +-
dq-financial-workflow/pom.xml | 76 -----
.../DqFinancialWorkflowApplication.java | 13 -
.../src/main/resources/application.properties | 1 -
.../src/main/resources/logback-spring.xml | 47 ---
.../DqFinancialWorkflowApplicationTests.java | 13 -
dq-framework-common/pom.xml | 18 ++
.../framework/model/response/CommonCode.java | 2 +
.../model/response/ResponseResult.java | 6 +-
.../com/daqing/framework/util/Md5Util.java | 20 ++
.../framework/model/response/CommonCode.class | Bin 2745 -> 2952 bytes
.../domain/hrms/request/LoginRequest.java | 23 ++
.../domain/hrms/request/UserLoginRequest.java | 2 +
.../domain/hrms/response/LoginResponse.java | 12 +
.../gateway/exception/DqException.java | 25 --
.../financial/gateway/util/JwtUtil.java | 16 +-
.../gateway/util/ResultCodeEnum.java | 62 ----
.../src/main/resources/jwt.properties | 2 +-
pom.xml | 4 +-
38 files changed, 847 insertions(+), 633 deletions(-)
delete mode 100644 dq-financial-guarantee/pom.xml
delete mode 100644 dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/DqFinancialGuaranteeApplication.java
delete mode 100644 dq-financial-guarantee/src/main/resources/application.properties
delete mode 100644 dq-financial-guarantee/src/main/resources/logback-spring.xml
delete mode 100644 dq-financial-guarantee/src/test/java/com/daqing/financial/guarantee/DqFinancialGuaranteeApplicationTests.java
create mode 100644 dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/SpringContextHolder.java
create mode 100644 dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/util/JwtUtil.java
create mode 100644 dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/util/RedisUtil.java
delete mode 100644 dq-financial-workflow/pom.xml
delete mode 100644 dq-financial-workflow/src/main/java/com/daqing/financial/workflow/DqFinancialWorkflowApplication.java
delete mode 100644 dq-financial-workflow/src/main/resources/application.properties
delete mode 100644 dq-financial-workflow/src/main/resources/logback-spring.xml
delete mode 100644 dq-financial-workflow/src/test/java/com/daqing/financial/workflow/DqFinancialWorkflowApplicationTests.java
create mode 100644 dq-framework-common/src/main/java/com/daqing/framework/util/Md5Util.java
create mode 100644 dq-framework-model/src/main/java/com/daqing/framework/domain/hrms/request/LoginRequest.java
create mode 100644 dq-framework-model/src/main/java/com/daqing/framework/domain/hrms/response/LoginResponse.java
delete mode 100644 dq-govern-gateway/src/main/java/com/daqing/financial/gateway/exception/DqException.java
delete mode 100644 dq-govern-gateway/src/main/java/com/daqing/financial/gateway/util/ResultCodeEnum.java
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index 00c72ccf..bdca58df 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -12,13 +12,15 @@
-
-
+
+
+
+