Browse Source

添加拦截器处理

yq 3 years ago
parent
commit
202a518b51

+ 1 - 1
fiveep-service/src/main/java/com/bizmatics/service/config/ResourcesConfig.java

@@ -43,7 +43,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
     {
     {
         registry.addInterceptor(repeatSubmitInterceptor).addPathPatterns("/**");
         registry.addInterceptor(repeatSubmitInterceptor).addPathPatterns("/**");
-        registry.addInterceptor(checkExecuteInterceptor).addPathPatterns("/alarmPower/**");
+//        registry.addInterceptor(checkExecuteInterceptor).addPathPatterns("/alarmPower/**");
     }
     }
     /**
     /**
      * 跨域配置
      * 跨域配置