|
@@ -18,7 +18,7 @@ public class HttpInterceptor implements HandlerInterceptor {
|
|
|
HttpServletResponse response, Object obj) throws Exception {
|
|
HttpServletResponse response, Object obj) throws Exception {
|
|
|
// 获取客户端IP地址
|
|
// 获取客户端IP地址
|
|
|
String clientIp = getClientIp(request);
|
|
String clientIp = getClientIp(request);
|
|
|
- log.error("算术小达人接收客户端{}发起用户请求", clientIp);
|
|
|
|
|
|
|
+ log.warn("算术小达人接收客户端{}发起用户请求", clientIp);
|
|
|
// 可以在这里添加更多的逻辑,比如记录日志等
|
|
// 可以在这里添加更多的逻辑,比如记录日志等
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|