src/main/java/com/zy/common/config/AdminInterceptor.java
@@ -64,6 +64,9 @@ } // 跨域设置 // response.setHeader("Access-Control-Allow-Origin", "*"); if (!(handler instanceof HandlerMethod)) { return true; } HandlerMethod handlerMethod = (HandlerMethod) handler; Method method = handlerMethod.getMethod(); if (method.isAnnotationPresent(ManagerAuth.class)){