Commit 649c8390 by zhouhaibao

[+]屏蔽配置

1 parent 02dfd2f5
......@@ -57,7 +57,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addInterceptors(InterceptorRegistry registry) {
//1.加入的顺序就是拦截器执行的顺序,
/* //1.加入的顺序就是拦截器执行的顺序,
//2.按顺序执行所有拦截器的preHandle
//3.所有的preHandle 执行完再执行全部postHandle 最后是postHandle
registry.addInterceptor(getAccessLimitIntercept()).addPathPatterns("/**")
......@@ -70,7 +70,7 @@ public class WebConfig implements WebMvcConfigurer {
.excludePathPatterns("/api/chargeGun/**")
.excludePathPatterns(uploadProperties.getFilepath())
.excludePathPatterns("/swagger-resources/**", "/swagger-ui/**", "/v3/**", "/doc.html");
registry.addInterceptor(logInterceptor).addPathPatterns("/**");
registry.addInterceptor(logInterceptor).addPathPatterns("/**");*/
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!