This commit is contained in:
Carl 2022-01-18 23:30:53 +08:00
parent fc580f6773
commit 458ea2aba3

View File

@ -71,7 +71,8 @@ public class SmartAuthenticationInterceptor extends HandlerInterceptorAdapter {
return true;
}
Boolean noNeedLogin = request.getServletPath().contains("royalcanin");
System.out.println("request.getServletPath() " + request.getServletPath());
Boolean noNeedLoginToo = request.getContextPath().contains("royalcanin");
System.out.println("request.getContextPath() : " + request.getContextPath());
if (noNeedLogin) {
return true;
}