!34 2022-1-19 Carl

Merge pull request !34 from Admin/sit-Carl-V3
This commit is contained in:
Admin 2022-01-18 16:35:56 +00:00 committed by Gitee
commit 45574b260e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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