nana_sen 2 年 前
コミット
c1c869c0a2
共有2 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 1 1
      catch/api/controller/Api.php
  2. 1 1
      task_script/PAREA_STATUS_UPDATE.php

+ 1 - 1
catch/api/controller/Api.php

@@ -685,7 +685,7 @@ class Api extends CatchController
         $flagOut = $avg["front"] > $config["front_out"] && $avg["behind"] > $config["behind_out"] && $avg["left"] > $config["left_out"] && $avg["right"] > $config["right_out"];
 
         
-        $url="http://61.175.203.188:10001/api/areaReport";
+        $url="http://localhost:8115/api/areaReport";
         if($flagIn && $status == 2){
             if ($info["pushTime"] &&  (time()-$info['pushTime']) < 5 ) {
                 # code...

+ 1 - 1
task_script/PAREA_STATUS_UPDATE.php

@@ -231,7 +231,7 @@ while (true) {
                 # code...
                 if ($data["status"] == 1) {
                     # code...
-                    $url="http://47.114.185.186:8115/api/areaReport";
+                    $url="http://localhost:8115/api/areaReport";
                     $url_data = [
                         "mac" => $data["mac"],
                         "data" => [