Commit 4b9df859 by 谢海旭

/chargeStations 不鉴权

1 parent 041bd8ab
...@@ -66,6 +66,7 @@ public class WebConfig implements WebMvcConfigurer { ...@@ -66,6 +66,7 @@ public class WebConfig implements WebMvcConfigurer {
.excludePathPatterns("/actuator/**") .excludePathPatterns("/actuator/**")
.excludePathPatterns("/platform-evbusiness/api/gbt/ocpp16/tcp/**") .excludePathPatterns("/platform-evbusiness/api/gbt/ocpp16/tcp/**")
.excludePathPatterns("/api/scanCodes/**") .excludePathPatterns("/api/scanCodes/**")
.excludePathPatterns("/api/chargeStations/**")
.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!