Commit ff605c7a authored by hujun's avatar hujun

>

parent 688d5d36
...@@ -37,12 +37,12 @@ class LocationService ...@@ -37,12 +37,12 @@ class LocationService
return $result; return $result;
} }
if ($longitude < 53 && $longitude > 2) { if ($longitude > 100) {
$result['msg'] = '纬度范围错误'; $result['msg'] = '纬度范围错误';
return $result; return $result;
} }
if ($latitude < 140 && $latitude > 70) { if ($latitude > 200) {
$result['msg'] = '经度范围错误'; $result['msg'] = '经度范围错误';
return $result; return $result;
} }
......
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