Pre Merge pull request !47 from 少年强/xxl_job_issue_01_20230129

pull/47/MERGE
少年强 3 years ago committed by Gitee
commit 6dfc0a79ab
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -27,7 +27,8 @@ public class PermissionInterceptor implements AsyncHandlerInterceptor {
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
if (!(handler instanceof HandlerMethod)) {
return true; // proceed with the next interceptor
// proceed with the next interceptor
return true;
}
// if need login
@ -53,7 +54,8 @@ public class PermissionInterceptor implements AsyncHandlerInterceptor {
request.setAttribute(LoginService.LOGIN_IDENTITY_KEY, loginUser);
}
return true; // proceed with the next interceptor
// proceed with the next interceptor
return true;
}
}

Loading…
Cancel
Save