he2802 4 anni fa
parent
commit
0e86016414

+ 2 - 1
zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/TokenService.java

@@ -170,7 +170,8 @@ public class TokenService
         long currentTime = System.currentTimeMillis();
         if (expireTime - currentTime <= MILLIS_MINUTE_TEN)
         {
-            refreshToken(loginUser);
+            //令牌保持不过期
+        //    refreshToken(loginUser);
         }
     }