add notify logic

This commit is contained in:
Carl 2022-01-18 23:38:15 +08:00
parent 458ea2aba3
commit 997041abba

View File

@ -72,8 +72,8 @@ public class SmartAuthenticationInterceptor extends HandlerInterceptorAdapter {
}
Boolean noNeedLogin = request.getServletPath().contains("royalcanin");
Boolean noNeedLoginToo = request.getContextPath().contains("royalcanin");
System.out.println("request.getContextPath() : " + request.getContextPath());
if (noNeedLogin) {
// System.out.println("request.getContextPath() : " + request.getContextPath());
if (noNeedLogin || noNeedLoginToo) {
return true;
}
//放行的Uri前缀