xiaoyong931011
2022-10-21 ab513e8ed081d320b35ddce78b701e7a8bd4d975
src/main/java/cc/mrbird/febs/common/configure/WebMvcConfigure.java
@@ -22,10 +22,15 @@
//        registration.addPathPatterns("/dapp/**");
//        registration.excludePathPatterns("/api/common/**");
        InterceptorRegistration registration = registry.addInterceptor(new DappInterceptor());
        registration.addPathPatterns("/dapp/**");
        registration.excludePathPatterns("/dapp/common/**");
//
//        InterceptorRegistration registration = registry.addInterceptor(new DappInterceptor());
//        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/**");
    }
    /**