Commit 407949b1 by 111-PC\111

[+]代码修改

1 parent 3834337b
......@@ -3,6 +3,7 @@ package com.glsx.smart.service.impl;
import cn.com.glsx.didicb.app.enums.MessagePushResultEnum;
import cn.com.glsx.didicb.app.model.MessageBoxInfo;
import cn.com.glsx.didicb.app.remote.MessageBoxInfoRemote;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.glsx.smart.dao.entity.SmartScene;
import com.glsx.smart.dao.entity.SmartSceneData;
......@@ -206,6 +207,7 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
ordermap.put("value", revertType(valueType, executeTaskVo.getOrderVal() == null ? executeTaskVo.getValue() : executeTaskVo.getOrderVal()));
maps.add(ordermap);
ordermaps.put("commands", maps);
log.info("发送的指令{}", JSON.toJSONString(maps));
// 下发普通指令
jsonObject = HttpUtil.sendPost(orderIssueurl.replace("{device_id}", devideId), JSONObject.toJSONString(ordermaps), new HashMap<>());
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!