Xiajijian
2025-11-14 aeb302cc46f60a2f5825a0149a972d82837f0071
ard-framework/src/main/java/com/ard/framework/web/service/TokenService.java
@@ -248,4 +248,12 @@
    {
        return Constants.LOGIN_USERID_KEY + userId;
    }
    public LoginUser getLoginUserByUserId(Long userId) {
        String userIdKey = getUserIdKey(userId);
        String tokenKey = redisCache.getCacheObject(userIdKey);
        if (tokenKey == null) return null;
        return redisCache.getCacheObject(tokenKey);
    }
}