update 增加了调用接口打印

This commit is contained in:
yyb
2026-01-22 15:59:16 +08:00
parent 9faf80166d
commit bef6d4012e

View File

@@ -32,6 +32,7 @@ public class LoginInterceptor implements HandlerInterceptor {
if (!(handler instanceof HandlerMethod)) { if (!(handler instanceof HandlerMethod)) {
return true; return true;
} }
System.out.println("调用方法"+request.getRequestURI());
String uri = request.getRequestURI(); String uri = request.getRequestURI();
if (uri.contains("/doc.html") || uri.contains("/webjars/") if (uri.contains("/doc.html") || uri.contains("/webjars/")