diff --git a/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java b/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java index b5d775b0..edc3a8b5 100644 --- a/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java +++ b/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java @@ -148,11 +148,17 @@ public class DeviceMessageHandler { } JSONArray pictures = data.getJSONArray("pictures"); + JSONArray video = data.getJSONArray("videoList"); - List pictureList = pictures.stream().map(picture -> (iotAddress + "/profile" + picture)).collect(Collectors.toList()); + // List pictureList = pictures.stream().map(picture -> (iotAddress + "/profile" + picture)).collect(Collectors.toList()); JSONObject otherConfig = new JSONObject(); - otherConfig.put("pictures", pictureList); + otherConfig.put("pictures", pictures); + /**视频地址*/ + otherConfig.put("videoList", video); + +/* JSONObject combinedData = new JSONObject(); + combinedData.put("address", otherConfig);*/ dcWarning.setOtherConfig(otherConfig.toString());