tongshanglei 1 year ago
parent
commit
01298e4276
1 changed files with 3 additions and 3 deletions
  1. 3 3
      task_script/LIVESTOCK_MQTT_PUBLISH.php

+ 3 - 3
task_script/LIVESTOCK_MQTT_PUBLISH.php

@@ -113,8 +113,8 @@ while (1) {
     $config_json=json_encode($config);
     var_dump($config_json);
     $res=sendConfig($topic,$config_json);
-    if($res){
+    // if($res){
         Db::table('send_config_log')->where('id',$data['msgid'])->update(['result'=>'1']);
-    }
-    var_dump($res);
+    // }
+    // var_dump($res);
 }