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