liusuyi
2025-12-28 4f94a29e2722e2185a81355a396ab2a33936d8ff
ard-framework/src/main/java/com/ard/framework/web/service/SysLoginService.java
@@ -36,7 +36,7 @@
/**
 * 登录校验方法
 * 
 * @author ruoyi
 * @author ard
 */
@Component
public class SysLoginService
@@ -122,7 +122,7 @@
        if (!soloLogin)
        {
            // 如果用户不允许多终端同时登录,清除缓存信息
            String userIdKey = Constants.LOGIN_USERID_KEY + loginUser.getUser().getUserId();
            String userIdKey = CacheConstants.LOGIN_USERID_KEY + loginUser.getUser().getUserId();
            String userKey = redisCache.getCacheObject(userIdKey);
            if (StringUtils.isNotEmpty(userKey))
            {