!32 2022-1-18 Carl

Merge pull request !32 from Admin/sit-Carl-V3
This commit is contained in:
Admin 2022-01-18 15:32:17 +00:00 committed by Gitee
commit 8685293b31
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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;
}