Commit c3071ff2 authored by zw's avatar zw

地图找房

parent 67fd3aba
......@@ -42,8 +42,8 @@ class MapFindHouse extends Basic
if (true !== $checkResult) {
return $this->response("101", $checkResult);
}
$first_spot_arr = explode($params["first_spot"], ",");
$second_spot_arr = explode($params["second_spot"], ",");
$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");
}
......
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