adding royalcanin account no need to login logic.

This commit is contained in:
Carl 2021-12-07 18:14:28 +08:00
parent 4deb6f2688
commit a9ffb1c75b

View File

@ -70,7 +70,10 @@ public class SmartAuthenticationInterceptor extends HandlerInterceptorAdapter {
if (isNoNeedLogin) {
return true;
}
Boolean noNeedLogin = request.getServletPath().startsWith("/royalcanin");
if (noNeedLogin) {
return true;
}
//放行的Uri前缀
String uri = request.getRequestURI();
String contextPath = request.getContextPath();