xiaoyong931011
2022-10-29 e6f6094a3b1173954cd9979e637a6f1b3bafaf0b
src/main/java/cc/mrbird/febs/common/configure/WebMvcConfigure.java
@@ -24,8 +24,14 @@
//
//        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.addPathPatterns("/api/**");
        registration.excludePathPatterns("/dapi/common/**");
        registration.excludePathPatterns("/dapi/member/updatePassword");
        registration.excludePathPatterns("/api/news/**");
    }
    /**