疯狂的狮子Li
2022-05-22 7e626ea2193d39217fa7321a865bfab014c5ea69
ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/controller/interceptor/PermissionInterceptor.java
@@ -27,7 +27,7 @@
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
        if (!(handler instanceof HandlerMethod)) {
            return AsyncHandlerInterceptor.super.preHandle(request, response, handler);
            return true;    // proceed with the next interceptor
        }
        // if need login
@@ -53,7 +53,7 @@
            request.setAttribute(LoginService.LOGIN_IDENTITY_KEY, loginUser);
        }
        return AsyncHandlerInterceptor.super.preHandle(request, response, handler);
        return true;    // proceed with the next interceptor
    }
}