xiaoyong931011
2022-11-23 d7140004b514b43f9734d050fb65d0c2898cca7f
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/**");
    }
    /**