guowei 2 年 前
コミット
31716933d6
52 ファイル変更9 行追加2 行削除
  1. 2 1
      pom.xml
  2. BIN
      src/main/java/com/cbkj/platform/PlatformApi.java
  3. BIN
      src/main/java/com/cbkj/platform/api/beans/entity/ResEntity.java
  4. BIN
      src/main/java/com/cbkj/platform/api/beans/user/AdminInfo.java
  5. BIN
      src/main/java/com/cbkj/platform/api/config/multipleDataSource/DynamicDataSourceRegister.java
  6. BIN
      src/main/java/com/cbkj/platform/api/config/swagger/Swagger2Config.java
  7. BIN
      src/main/java/com/cbkj/platform/api/config/utils/Constant.java
  8. BIN
      src/main/java/com/cbkj/platform/api/config/utils/JasyptUtils.java
  9. BIN
      src/main/java/com/cbkj/platform/api/config/utils/Page.java
  10. BIN
      src/main/java/com/cbkj/platform/api/controller/dic/DicDataController.java
  11. BIN
      src/main/java/com/cbkj/platform/api/controller/org/SysAppController.java
  12. BIN
      src/main/java/com/cbkj/platform/api/controller/org/SysDepartmentController.java
  13. BIN
      src/main/java/com/cbkj/platform/api/controller/org/SysInstitutionController.java
  14. BIN
      src/main/java/com/cbkj/platform/api/controller/param/SysParamController.java
  15. BIN
      src/main/java/com/cbkj/platform/api/controller/sso/SsoController.java
  16. BIN
      src/main/java/com/cbkj/platform/api/controller/user/AdminInfoController.java
  17. BIN
      src/main/java/com/cbkj/platform/api/controller/user/AdminMenuController.java
  18. BIN
      src/main/java/com/cbkj/platform/api/mapper/user/AdminInfoMapper.java
  19. BIN
      src/main/java/com/cbkj/platform/api/service/dic/DicDataService.java
  20. BIN
      src/main/java/com/cbkj/platform/api/service/org/SysAppService.java
  21. BIN
      src/main/java/com/cbkj/platform/api/service/org/SysDepartmentService.java
  22. BIN
      src/main/java/com/cbkj/platform/api/service/org/SysInstitutionService.java
  23. BIN
      src/main/java/com/cbkj/platform/api/service/param/SysParamService.java
  24. BIN
      src/main/java/com/cbkj/platform/api/service/sso/UserService.java
  25. BIN
      src/main/java/com/cbkj/platform/api/service/user/AdminInfoService.java
  26. BIN
      src/main/java/com/cbkj/platform/api/service/user/AdminMenuService.java
  27. BIN
      src/main/java/com/cbkj/platform/config/entity/ResEntity.java
  28. BIN
      src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSource.java
  29. BIN
      src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSourceContextHolder.java
  30. BIN
      src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSourceRegister.java
  31. BIN
      src/main/java/com/cbkj/platform/config/redis/RedisConfig.java
  32. BIN
      src/main/java/com/cbkj/platform/config/swagger/Swagger2Config.java
  33. BIN
      src/main/java/com/cbkj/platform/config/utils/Constant.java
  34. BIN
      src/main/java/com/cbkj/platform/config/utils/JasyptUtils.java
  35. BIN
      src/main/java/com/cbkj/platform/config/utils/JedisUtil.java
  36. BIN
      src/main/java/com/cbkj/platform/config/utils/Page.java
  37. BIN
      src/main/java/com/cbkj/platform/sso/conf/Conf.java
  38. BIN
      src/main/java/com/cbkj/platform/sso/encryption/BASE64MultipartFile.java
  39. BIN
      src/main/java/com/cbkj/platform/sso/encryption/Base64Utils.java
  40. BIN
      src/main/java/com/cbkj/platform/sso/encryption/MD5Util.java
  41. BIN
      src/main/java/com/cbkj/platform/sso/encryption/RSAEncryption.java
  42. BIN
      src/main/java/com/cbkj/platform/sso/filter/SsoTokenFilter.java
  43. BIN
      src/main/java/com/cbkj/platform/sso/login/SsoTokenLoginHelper.java
  44. BIN
      src/main/java/com/cbkj/platform/sso/path/PathMatcher.java
  45. BIN
      src/main/java/com/cbkj/platform/sso/path/impl/AntPathMatcher.java
  46. BIN
      src/main/java/com/cbkj/platform/sso/store/SsoLoginStore.java
  47. BIN
      src/main/java/com/cbkj/platform/sso/store/SsoSessionIdHelper.java
  48. BIN
      src/main/java/com/cbkj/platform/sso/user/SsoUser.java
  49. BIN
      src/main/java/com/cbkj/platform/sso/util/CookieUtil.java
  50. BIN
      src/main/java/com/cbkj/platform/sso/util/StringUtils.java
  51. 6 0
      src/main/resources/mappers/user/AdminInfoMapper.xml
  52. 1 1
      src/main/resources/zlogback.xml

+ 2 - 1
pom.xml

@@ -33,7 +33,7 @@
         <druid.version>1.1.0</druid.version>
         <mybatis.version>1.3.2</mybatis.version>
         <jasypt.version>2.0.0</jasypt.version>
-        <start-class>com.cbkj.platform.api.PlatformApi</start-class>
+        <start-class>com.cbkj.platform.PlatformApi</start-class>
     </properties>
 
     <parent>
@@ -175,6 +175,7 @@
     </licenses>
 
     <build>
+        <finalName>tcm-platform-api</finalName>
         <plugins>
             <plugin>
                 <groupId>org.springframework.boot</groupId>

BIN
src/main/java/com/cbkj/platform/api/PlatformApi.java → src/main/java/com/cbkj/platform/PlatformApi.java


BIN
src/main/java/com/cbkj/platform/api/beans/entity/ResEntity.java


BIN
src/main/java/com/cbkj/platform/api/beans/user/AdminInfo.java


BIN
src/main/java/com/cbkj/platform/api/config/multipleDataSource/DynamicDataSourceRegister.java


BIN
src/main/java/com/cbkj/platform/api/config/swagger/Swagger2Config.java


BIN
src/main/java/com/cbkj/platform/api/config/utils/Constant.java


BIN
src/main/java/com/cbkj/platform/api/config/utils/JasyptUtils.java


BIN
src/main/java/com/cbkj/platform/api/config/utils/Page.java


BIN
src/main/java/com/cbkj/platform/api/controller/dic/DicDataController.java


BIN
src/main/java/com/cbkj/platform/api/controller/org/SysAppController.java


BIN
src/main/java/com/cbkj/platform/api/controller/org/SysDepartmentController.java


BIN
src/main/java/com/cbkj/platform/api/controller/org/SysInstitutionController.java


BIN
src/main/java/com/cbkj/platform/api/controller/param/SysParamController.java


BIN
src/main/java/com/cbkj/platform/api/controller/sso/SsoController.java


BIN
src/main/java/com/cbkj/platform/api/controller/user/AdminInfoController.java


BIN
src/main/java/com/cbkj/platform/api/controller/user/AdminMenuController.java


BIN
src/main/java/com/cbkj/platform/api/mapper/user/AdminInfoMapper.java


BIN
src/main/java/com/cbkj/platform/api/service/dic/DicDataService.java


BIN
src/main/java/com/cbkj/platform/api/service/org/SysAppService.java


BIN
src/main/java/com/cbkj/platform/api/service/org/SysDepartmentService.java


BIN
src/main/java/com/cbkj/platform/api/service/org/SysInstitutionService.java


BIN
src/main/java/com/cbkj/platform/api/service/param/SysParamService.java


BIN
src/main/java/com/cbkj/platform/api/service/sso/UserService.java


BIN
src/main/java/com/cbkj/platform/api/service/user/AdminInfoService.java


BIN
src/main/java/com/cbkj/platform/api/service/user/AdminMenuService.java


BIN
src/main/java/com/cbkj/platform/config/entity/ResEntity.java


BIN
src/main/java/com/cbkj/platform/api/config/multipleDataSource/DynamicDataSource.java → src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSource.java


BIN
src/main/java/com/cbkj/platform/api/config/multipleDataSource/DynamicDataSourceContextHolder.java → src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSourceContextHolder.java


BIN
src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSourceRegister.java


BIN
src/main/java/com/cbkj/platform/config/redis/RedisConfig.java


BIN
src/main/java/com/cbkj/platform/config/swagger/Swagger2Config.java


BIN
src/main/java/com/cbkj/platform/config/utils/Constant.java


BIN
src/main/java/com/cbkj/platform/config/utils/JasyptUtils.java


BIN
src/main/java/com/cbkj/platform/config/utils/JedisUtil.java


BIN
src/main/java/com/cbkj/platform/config/utils/Page.java


BIN
src/main/java/com/cbkj/platform/sso/conf/Conf.java


BIN
src/main/java/com/cbkj/platform/sso/encryption/BASE64MultipartFile.java


BIN
src/main/java/com/cbkj/platform/sso/encryption/Base64Utils.java


BIN
src/main/java/com/cbkj/platform/sso/encryption/MD5Util.java


BIN
src/main/java/com/cbkj/platform/sso/encryption/RSAEncryption.java


BIN
src/main/java/com/cbkj/platform/sso/filter/SsoTokenFilter.java


BIN
src/main/java/com/cbkj/platform/sso/login/SsoTokenLoginHelper.java


BIN
src/main/java/com/cbkj/platform/sso/path/PathMatcher.java


BIN
src/main/java/com/cbkj/platform/sso/path/impl/AntPathMatcher.java


BIN
src/main/java/com/cbkj/platform/sso/store/SsoLoginStore.java


BIN
src/main/java/com/cbkj/platform/sso/store/SsoSessionIdHelper.java


BIN
src/main/java/com/cbkj/platform/sso/user/SsoUser.java


BIN
src/main/java/com/cbkj/platform/sso/util/CookieUtil.java


BIN
src/main/java/com/cbkj/platform/sso/util/StringUtils.java


+ 6 - 0
src/main/resources/mappers/user/AdminInfoMapper.xml

@@ -134,4 +134,10 @@
         order by app_id, ins_code, dept_id
         ) e
     </select>
+
+    <select id="findUser" parameterType="String" resultMap="BaseResultMap">
+        select *
+        from sys_admin_info
+        where user_name = #{userName} and status != '1'
+    </select>
 </mapper>

+ 1 - 1
src/main/resources/zlogback.xml

@@ -144,7 +144,7 @@
 
     <!--日志异步到数据库  -->
     <!--<appender name="DBAPPENDER" class="ch.qos.logback.classic.db.DBAppender">-->
-    <!--<connectionSource class="ch.qos.logback.core.db.DataSourceConnectionSource">-->
+    <!--<connectionSource class="ch.qos.logback.sso.db.DataSourceConnectionSource">-->
     <!--<TargetDataSource class="com.zaxxer.hikari.HikariDataSource">-->
     <!--<driverClassName>com.mysql.jdbc.Driver</driverClassName>-->
     <!--<jdbcUrl>jdbc:mysql://localhost:3306/albedo-new?useUnicode=true&amp;characterEncoding=utf8&amp;useSSL=false</jdbcUrl>-->