xiaoyong931011
2022-10-20 7eb3df000ce82c3a170371a0d30e561ed88e3c74
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/**");
    }
    /**