Commit 1a453b8b authored by tangwei's avatar tangwei

修改bug

parent 87bce0ed
......@@ -1772,7 +1772,7 @@ public class CommandController extends BaseController {
e.put("longitude", String.valueOf(gps.getWgLon()));
});
emqKeeper.getMqttClient().publish(topic, result.toString().getBytes(), RuleConfig.DEFAULT_QOS, false);
emqKeeper.getMqttClient().publish(topic, (result.get(0)).toString().getBytes(), RuleConfig.DEFAULT_QOS, false);
}
......
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 to comment