lin 3 anos atrás
pai
commit
be40957ab9

+ 1 - 1
zoniot-rmcp/zoniot-rmcp-web/src/main/java/com/zcxk/rmcp/web/config/ResourceServerConfig.java

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