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