Commit 4348eb2e by huangjy

feat:设备误报取设备当前上报的时间戳

parent da9c14fc
......@@ -106,7 +106,7 @@ public class IotDevicePropertiesOperateService extends IotCommonService {
String url = iotUrl + "device/invoked/" + deviceId + "/function/misinformation";
Map<String,Map<String,Object>> map = Maps.newHashMap();
Map<String,Object> reqMap = Maps.newHashMap();
reqMap.put("timestamp",alarmId);
reqMap.put("alarmId",alarmId);
reqMap.put("url", uploadUrl);
map.put("misinformationNotify",reqMap);
HttpRequest request = buildRequest(url, JSON.toJSONString(map));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment