tianwu.sun hai 9 meses
pai
achega
9b1c0f9417

+ 1 - 0
src/main/java/com/bootdo/system/config/ShiroConfig.java

@@ -123,6 +123,7 @@ public class ShiroConfig {
         LinkedHashMap<String, String> filterChainDefinitionMap = new LinkedHashMap<>();
         filterChainDefinitionMap.put("/login", "anon");
         filterChainDefinitionMap.put("/ssoLogin", "anon");
+        filterChainDefinitionMap.put("/sys/online/**", "anon");
         filterChainDefinitionMap.put("/code", "anon");
         filterChainDefinitionMap.put("/sso/**", "anon");
         filterChainDefinitionMap.put("/getVerify", "anon");

+ 1 - 1
src/main/java/com/bootdo/system/service/impl/SessionServiceImpl.java

@@ -81,7 +81,7 @@ public class SessionServiceImpl implements SessionService {
     @Override
     public boolean forceLogout(String sessionId) {
         Session session = sessionDAO.readSession(sessionId);
-        session.setTimeout(0);
+        session.stop();
         return true;
     }
 }

+ 4 - 4
src/main/resources/application-test.yml

@@ -1,8 +1,8 @@
 bootdo:
-  uploadPath: C:/cicdebserver/res/
-  encPrival: C:/cicdebserver/sm2/sm2_client_enc_private.key
-  crtPrival: C:/cicdebserver/sm2/sm2_client_enc_cert.crt
-  licensePath: C:/cicdebserver/sm2/license.lic
+  uploadPath: /opt/streams/service/cic-data/res/reportin/
+  encPrival: /opt/streams/service/cic-data/reportin/sm2/sm2_client_enc_private.key
+  crtPrival: /opt/streams/service/cic-data/reportin/sm2/sm2_client_enc_cert.crt
+  licensePath: /opt/streams/service/cic-data/reportin/sm2/license.lic
   username: admin
   password: 111111
 

+ 2 - 2
src/main/resources/application.yml

@@ -19,9 +19,9 @@ spring:
     date-format: yyyy-MM-dd HH:mm:ss
   profiles:
 #    开发环境
-    active: dev
+#  active: dev
 #    测试环境
-#    active: test
+   active: test
 #    #生产环境
 #    active: prod
   servlet: