优化代码

This commit is contained in:
TinyAnts 2022-09-08 17:19:58 +08:00
parent e0e880e812
commit ef795de84d
1 changed files with 0 additions and 2 deletions

View File

@ -77,8 +77,6 @@ public class LikeFrontInterceptor implements HandlerInterceptor {
// 用户信息缓存
Object uid = RedisUtil.get(token);
System.out.println(uid);
System.out.println("哈哈哈哈哈");
Integer userId = Integer.parseInt(uid.toString());
User user = userMapper.selectOne(new QueryWrapper<User>()
.select("id,sn,username,nickname,mobile,is_disable,is_delete")