Commit a04b5f22 authored by hujun's avatar hujun

//

parent 8f1edadb
...@@ -42,15 +42,15 @@ class LocationService ...@@ -42,15 +42,15 @@ class LocationService
return $result; return $result;
} }
if ($longitude > 100) { // if ($longitude > 100) {
$result['msg'] = '纬度范围错误'; // $result['msg'] = '纬度范围错误';
return $result; // return $result;
} // }
//
if ($latitude > 200) { // if ($latitude > 200) {
$result['msg'] = '经度范围错误'; // $result['msg'] = '经度范围错误';
return $result; // return $result;
} // }
$m_location = new ALocationListModel(); $m_location = new ALocationListModel();
$position_service = new PositionService(); $position_service = new PositionService();
......
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