cancel token

This commit is contained in:
Carl 2021-12-29 17:29:46 +08:00
parent 85b798859c
commit c85f6fefc5

View File

@ -70,9 +70,8 @@ public class SmartAuthenticationInterceptor extends HandlerInterceptorAdapter {
if (isNoNeedLogin) {
return true;
}
Boolean noNeedLogin = request.getServletPath().startsWith("/royalcanin/member");
Boolean noNeedLoginNotify = request.getServletPath().startsWith("royalcanin/wechatnotify");
if (noNeedLogin||noNeedLoginNotify) {
Boolean noNeedLogin = request.getServletPath().startsWith("/royalcanin");
if (noNeedLogin) {
return true;
}
//放行的Uri前缀