Commit c4f79a0f authored by zw's avatar zw

地图找房

parent e86e5a05
......@@ -49,7 +49,7 @@ class MapFindHouse extends Basic
$first_spot_arr = explode(",", $params["first_spot"]);
$second_spot_arr = explode(",", $params["second_spot"]);
if (count($first_spot_arr) < 2 || count($second_spot_arr) < 2) {
return $this->response("101", "坐标传入有误1");
return $this->response("101", "坐标传入有误");
}
$conditions = [];
$conditions["latitude"] = array("between", array($second_spot_arr[0], $first_spot_arr[0]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment