|
@@ -95,9 +95,9 @@ public class WxTokenService
|
|
|
Claims claims = parseToken(token);
|
|
|
// 解析对应的权限以及用户信息
|
|
|
String uuid = (String) claims.get(Constants.WX_LOGIN_USER_KEY);
|
|
|
- /*if(!iUserLoginKeyService.queryByUserKey(uuid)){
|
|
|
+ if(!iUserLoginKeyService.queryByUserKey(uuid)){
|
|
|
throw new BaseException(null,"409",null,"已被踢下线");
|
|
|
- }*/
|
|
|
+ }
|
|
|
String userKey = getTokenKey(uuid);
|
|
|
ClientLoginUser user = redisCache.getCacheObject(userKey);
|
|
|
|