xiaoyong931011
2022-10-22 248b1423be3ef10848da0b68fb470fffce2e84e7
src/main/java/cc/mrbird/febs/common/configure/WebMvcConfigure.java
@@ -24,8 +24,13 @@
//
//        InterceptorRegistration registration = registry.addInterceptor(new DappInterceptor());
//        registration.addPathPatterns("/dapp/**");
//        registration.excludePathPatterns("/dapp/common/**");
//        registration.addPathPatterns("/dapi/**");
//        registration.excludePathPatterns("/dapi/common/**");
        InterceptorRegistration registration = registry.addInterceptor(new LoginInterceptor());
        registration.addPathPatterns("/dapi/**");
        registration.excludePathPatterns("/dapi/common/**");
        registration.excludePathPatterns("/dapi/member/updatePassword");
        registration.excludePathPatterns("/api/news/**");
    }
    /**