xiaoyong931011
2022-10-22 d5fe69a4fc1cecd33366ce270f9a543cd154766f
src/main/java/cc/mrbird/febs/common/configure/WebMvcConfigure.java
@@ -23,9 +23,15 @@
//        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.addPathPatterns("/api/**");
        registration.excludePathPatterns("/dapi/common/**");
        registration.excludePathPatterns("/dapi/member/updatePassword");
        registration.excludePathPatterns("/api/news/**");
    }
    /**