Junjie
3 天以前 b7a738a16531191b43ea2327acca7d861dfd9f09
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)){