Преглед на файлове

Merge branch 'dev' of chenweida/patient-co-management into dev

chenweida преди 7 години
родител
ревизия
38e2dfb409
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/config/MvcConfig.java

+ 1 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/config/MvcConfig.java

@ -31,9 +31,9 @@ public class MvcConfig extends WebMvcConfigurerAdapter {
        // 多个拦截器组成一个拦截器链
        // addPathPatterns 用于添加拦截规则
        // excludePathPatterns 用户排除拦截
        registry.addInterceptor(gateWayInterceptor).addPathPatterns("/wlyygc/**");
        registry.addInterceptor(doctorInterceptor).addPathPatterns("/doctor/**", "/statistics/province/**", "/statistics/**", "/wlyygc/**");
        registry.addInterceptor(patientInterceptor).addPathPatterns("/patient/**");
        registry.addInterceptor(gateWayInterceptor).addPathPatterns("/wlyygc/**");
        super.addInterceptors(registry);
        logger.info("init doctorInterceptor,patientInterceptor");