Browse Source

代码检测

feature/subCheck
管理员 5 years ago
parent
commit
b8eeccbf17
  1. 6
      epdc-commons-tools/src/main/java/com/elink/esua/epdc/commons/tools/utils/GPSUtils.java

6
epdc-commons-tools/src/main/java/com/elink/esua/epdc/commons/tools/utils/GPSUtils.java

@ -48,10 +48,12 @@ public class GPSUtils {
}
public static boolean outOfChina(double lat, double lon) {
if (lon < 72.004 || lon > 137.8347)
if (lon < 72.004 || lon > 137.8347) {
return true;
if (lat < 0.8293 || lat > 55.8271)
}
if (lat < 0.8293 || lat > 55.8271) {
return true;
}
return false;
}

Loading…
Cancel
Save