mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 过滤离线用户
This commit is contained in:
@ -48,7 +48,6 @@ public class SysUserOnlineController extends BaseController {
|
||||
for (String key : keys) {
|
||||
// 如果已经过期则踢下线
|
||||
if (StpUtil.stpLogic.getTokenActivityTimeoutByToken(key) < 0) {
|
||||
StpUtil.kickoutByTokenValue(key);
|
||||
continue;
|
||||
}
|
||||
String onlineKey = key.replace(Constants.LOGIN_TOKEN_KEY, Constants.ONLINE_TOKEN_KEY);
|
||||
|
Reference in New Issue
Block a user