|
@@ -183,7 +183,7 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
|
throw new BusinessException(ResultCode.SCENE_NOT_EXITS);
|
|
|
}
|
|
|
String redisKey = String.format(RedisKeyUtil.loginToken,token);
|
|
|
- if(redisUtil.hasKey(redisKey)){
|
|
|
+ if(!redisUtil.hasKey(redisKey)){
|
|
|
throw new BusinessException(ResultCode.USER_NOT_LOGIN);
|
|
|
}
|
|
|
String userStr = redisUtil.get(redisKey);
|