guowei 2 tahun lalu
induk
melakukan
31716933d6
52 mengubah file dengan 9 tambahan dan 2 penghapusan
  1. 2 1
      pom.xml
  2. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/PlatformApi.java
  3. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/beans/entity/ResEntity.java
  4. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/beans/user/AdminInfo.java
  5. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/config/multipleDataSource/DynamicDataSourceRegister.java
  6. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/config/swagger/Swagger2Config.java
  7. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/config/utils/Constant.java
  8. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/config/utils/JasyptUtils.java
  9. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/config/utils/Page.java
  10. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/controller/dic/DicDataController.java
  11. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/controller/org/SysAppController.java
  12. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/controller/org/SysDepartmentController.java
  13. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/controller/org/SysInstitutionController.java
  14. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/controller/param/SysParamController.java
  15. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/controller/sso/SsoController.java
  16. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/controller/user/AdminInfoController.java
  17. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/controller/user/AdminMenuController.java
  18. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/mapper/user/AdminInfoMapper.java
  19. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/service/dic/DicDataService.java
  20. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/service/org/SysAppService.java
  21. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/service/org/SysDepartmentService.java
  22. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/service/org/SysInstitutionService.java
  23. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/service/param/SysParamService.java
  24. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/service/sso/UserService.java
  25. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/service/user/AdminInfoService.java
  26. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/api/service/user/AdminMenuService.java
  27. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/entity/ResEntity.java
  28. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSource.java
  29. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSourceContextHolder.java
  30. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSourceRegister.java
  31. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/redis/RedisConfig.java
  32. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/swagger/Swagger2Config.java
  33. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/utils/Constant.java
  34. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/utils/JasyptUtils.java
  35. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/utils/JedisUtil.java
  36. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/config/utils/Page.java
  37. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/conf/Conf.java
  38. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/encryption/BASE64MultipartFile.java
  39. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/encryption/Base64Utils.java
  40. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/encryption/MD5Util.java
  41. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/encryption/RSAEncryption.java
  42. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/filter/SsoTokenFilter.java
  43. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/login/SsoTokenLoginHelper.java
  44. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/path/PathMatcher.java
  45. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/path/impl/AntPathMatcher.java
  46. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/store/SsoLoginStore.java
  47. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/store/SsoSessionIdHelper.java
  48. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/user/SsoUser.java
  49. TEMPAT SAMPAH
      src/main/java/com/cbkj/platform/sso/util/CookieUtil.java
  50. TEMPAT SAMPAH
      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>

TEMPAT SAMPAH
src/main/java/com/cbkj/platform/api/PlatformApi.java → src/main/java/com/cbkj/platform/PlatformApi.java


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/config/entity/ResEntity.java


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


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


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/config/multipleDataSource/DynamicDataSourceRegister.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/config/redis/RedisConfig.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/config/swagger/Swagger2Config.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/config/utils/Constant.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/config/utils/JasyptUtils.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/config/utils/JedisUtil.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/config/utils/Page.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/conf/Conf.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/encryption/BASE64MultipartFile.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/encryption/Base64Utils.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/encryption/MD5Util.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/encryption/RSAEncryption.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/filter/SsoTokenFilter.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/login/SsoTokenLoginHelper.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/path/PathMatcher.java


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


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/store/SsoLoginStore.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/store/SsoSessionIdHelper.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/user/SsoUser.java


TEMPAT SAMPAH
src/main/java/com/cbkj/platform/sso/util/CookieUtil.java


TEMPAT SAMPAH
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>-->