From 84de5a5d42d8540f9e5867b2feba1c334cf4f6ba Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期日, 09 十月 2022 09:26:18 +0800 Subject: [PATCH] update redisson 3.17.6 => 3.17.7 修复设置NameMapper导致队列功能异常问题 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java index 7862147..01a4a82 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysUserOnlineController.java @@ -47,7 +47,7 @@ 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)); -- Gitblit v1.9.3