Browse Source

优化设备功能调用返回内容逻辑

develop
zhaoxianglong 9 months ago
parent
commit
65837ede55
  1. 5
      zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java

5
zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java

@ -570,8 +570,8 @@ public class DcDeviceController extends BaseController {
}
}
break;
}
} else {
JSONObject mdJSONObject = (JSONObject) JSON.toJSON(getDeviceLatestProperty(iotDeviceId, UniversalEnum.MD.getValue()).get("data"));
String mdValue = mdJSONObject.getString("value");
@ -636,6 +636,7 @@ public class DcDeviceController extends BaseController {
}
}
}
}
} else {
for (Object function : functions) {

Loading…
Cancel
Save