Commit 02dfd2f5 by 林永健

/chargGun 不鉴权

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