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