xiaoyong931011
2022-10-20 7eb3df000ce82c3a170371a0d30e561ed88e3c74
src/main/java/cc/mrbird/febs/common/configure/WebMvcConfigure.java
@@ -22,10 +22,14 @@
//        registration.addPathPatterns("/dapp/**");
//        registration.excludePathPatterns("/api/common/**");
        InterceptorRegistration registration = registry.addInterceptor(new DappInterceptor());
        registration.addPathPatterns("/dapp/**");
        registration.excludePathPatterns("/dapp/common/**");
//
//        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/**");
    }
    /**