fix 修复 在线用户设置永不过期 被过滤问题
This commit is contained in:
parent
3c4c91dc7d
commit
cf7df6a14c
@ -47,7 +47,7 @@ public class SysUserOnlineController extends BaseController {
|
||||
for (String key : keys) {
|
||||
String token = key.replace(CacheConstants.LOGIN_TOKEN_KEY, "");
|
||||
// 如果已经过期则跳过
|
||||
if (StpUtil.stpLogic.getTokenActivityTimeoutByToken(token) < 0) {
|
||||
if (StpUtil.stpLogic.getTokenActivityTimeoutByToken(token) < -1) {
|
||||
continue;
|
||||
}
|
||||
userOnlineDTOList.add(RedisUtils.getCacheObject(CacheConstants.ONLINE_TOKEN_KEY + token));
|
||||
|
Loading…
x
Reference in New Issue
Block a user