Commit 1a09af5b by 谢海旭

/scanCodes 不鉴权

1 parent 50e24276
...@@ -65,6 +65,7 @@ public class WebConfig implements WebMvcConfigurer { ...@@ -65,6 +65,7 @@ public class WebConfig implements WebMvcConfigurer {
.excludePathPatterns("/login") .excludePathPatterns("/login")
.excludePathPatterns("/actuator/**") .excludePathPatterns("/actuator/**")
.excludePathPatterns("/platform-evbusiness/api/gbt/ocpp16/tcp/**") .excludePathPatterns("/platform-evbusiness/api/gbt/ocpp16/tcp/**")
.excludePathPatterns("/api/scanCodes/**")
.excludePathPatterns(uploadProperties.getFilepath()) .excludePathPatterns(uploadProperties.getFilepath())
.excludePathPatterns("/swagger-resources/**", "/swagger-ui/**", "/v3/**", "/doc.html"); .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!