xiaoyong931011
2022-10-21 e7ca8ba2b3c3b446e39d4c3a3ea5e238adb2fc7c
src/main/java/cc/mrbird/febs/common/configure/WebMvcConfigure.java
@@ -23,9 +23,13 @@
//        registration.excludePathPatterns("/api/common/**");
//
        InterceptorRegistration registration = registry.addInterceptor(new DappInterceptor());
//        InterceptorRegistration registration = registry.addInterceptor(new DappInterceptor());
//        registration.addPathPatterns("/dapi/**");
//        registration.excludePathPatterns("/dapi/common/**");
        InterceptorRegistration registration = registry.addInterceptor(new LoginInterceptor());
        registration.addPathPatterns("/dapi/**");
        registration.excludePathPatterns("/dapi/common/**");
        registration.excludePathPatterns("/api/news/**");
    }
    /**