This commit is contained in:
wangjinlei
2024-03-13 18:07:33 +08:00
parent d4ea32c6d7
commit 0c740d33a0

View File

@@ -80,7 +80,7 @@ public class OAuth2Realm extends AuthorizingRealm {
Long timeout = (tokenEntity.getExpireTime().getTime() - System.currentTimeMillis())/(1000 * 60 * 60);
if (timeout <= 24){
if (timeout <= 24*10){
// token 续期
//当前时间
Date now = new Date();