tongshanglei 1 년 전
부모
커밋
19823e367d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      task_script/LIVESTOCK_MQTT_PUBLISH.php

+ 1 - 1
task_script/LIVESTOCK_MQTT_PUBLISH.php

@@ -85,7 +85,7 @@ function sendConfig($topic,$config)
     $res=$mqtt->publish(
         $topic,
         $config,
-        0
+        1
     );
     $mqtt->disconnect();
     return $res;