|
|
@ -705,7 +705,7 @@ public class MqttManager { |
|
|
|
*/ |
|
|
|
private void handleGateCommand(String messageContent) { |
|
|
|
LogManager.logInfo(TAG, "处理门闸控制命令: " + messageContent); |
|
|
|
|
|
|
|
// 返回示例:{"gate":"{\"id\":\"\",\"name\":\"gate\",\"token\":\"\",\"value\":{\"cid\":\"1\",\"tcp\":\"127.0.0.1:10000\"},\"is_delay\":true,\"delay_time\":\"\",\"notice_url\":\"\",\"is_async\":false,\"queue_group\":\"gate\"}"} |
|
|
|
try { |
|
|
|
String gateCommand = extractGateCommand(messageContent); |
|
|
|
if (gateCommand != null) { |
|
|
|