1.取消记录用户url
This commit is contained in:
parent
fcc3b84d06
commit
8888b0b731
|
|
@ -91,9 +91,9 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
|
|||
throw new CzgException("ip跳动过于频繁,请联系管理员解封");
|
||||
}
|
||||
|
||||
ThreadUtil.execAsync(() -> {
|
||||
redisService.recordUrlVisitCountWithIp(userId, request.getRequestURI(), ip);
|
||||
});
|
||||
// ThreadUtil.execAsync(() -> {
|
||||
// redisService.recordUrlVisitCountWithIp(userId, request.getRequestURI(), ip);
|
||||
// });
|
||||
|
||||
// 设置 userId 到 request 里,后续根据 userId 获取用户信息
|
||||
UserEntity user = userService.selectUserById(userId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue