Commit af6d0b7b authored by hujun's avatar hujun

//

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