Commit 0e8cdb97 by chamberone

feat: add logs

1 parent 7c9ba554
......@@ -67,7 +67,11 @@ public class AuthFilter implements GlobalFilter, Ordered {
UserLoginDTO userDTO = null;
if (StringUtils.isNotEmpty(authToken)) {
// 查询token对应的用户
userDTO = (UserLoginDTO) redisService.get(RedisKeyGroup.authToken + ":" + authToken);
Object obj = redisService.get(RedisKeyGroup.authToken + ":" + authToken);
log.info("{} {}", authToken, obj);
if (null != obj) {
userDTO = (UserLoginDTO) obj;
}
// Result<?> userResult = userService.getUserInfo(authToken);
// if (ResultEnum.SUCCESS.getCode().equals(userResult.getCode())) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!