|
@@ -75,10 +75,10 @@ public class TokenService
|
|
|
if(StringUtils.isEmpty(uuid)){
|
|
|
uuid = (String) claims.get(Constants.LOGIN_USER_KEY_APP);
|
|
|
}
|
|
|
- String userId = redisCache.getCacheObject("userId");
|
|
|
- if (!token.equals(userId)){
|
|
|
- return null;
|
|
|
- }
|
|
|
+// String userId = redisCache.getCacheObject("userId");
|
|
|
+// if (!token.equals(userId)){
|
|
|
+// return null;
|
|
|
+// }
|
|
|
String userKey = getTokenKey(uuid);
|
|
|
LoginUser user = redisCache.getCacheObject(userKey);
|
|
|
return user;
|