|
@@ -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...
|