xiaoyong931011
2022-10-22 8a6f372f1b58cc1e3a9f737b59ede01854e618a1
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/**");
    }
    /**