|
@@ -23,7 +23,8 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
|
|
|
.antMatchers("/swagger-ui.html","/webjars/**", "/swagger-resources/**",
|
|
|
"/file/**","/meter/read/record/list/sync/data","/import/downloadFailFile",
|
|
|
"/v2/**","/syncData/**","/meter/read/record/querySettlementWaterConsumption"
|
|
|
- ,"/meter/read/record/queryDeviceMeterReadRecordWithCondtion","/common/getProductId")
|
|
|
+ ,"/meter/read/record/queryDeviceMeterReadRecordWithCondtion","/common/getProductId"
|
|
|
+ ,"/notify/add/alarm","/notify/pdate/device/state")
|
|
|
.permitAll() //配置不需要身份认证的请求路径
|
|
|
.anyRequest().authenticated() //其他所有访问路径都需要身份认证
|
|
|
.and()
|