+3
@@ -1673,6 +1673,9 @@ public class PropertyController {
|
||||
if (district == null && userName!=null && !userName.equals("huihe_test")) {
|
||||
//加上高德获取经纬度 和 根据经纬度估值
|
||||
Map<String, String> map = GeoUtils.parserByGaode(model.getCity(), model.getAddress());
|
||||
if(map != null && (!map.containsKey("lng") || map.containsKey("level") && !GAODE_LEVEL.contains(map.get("level")))){
|
||||
map = GeoUtils.parserByGaode(model.getCity(), model.getDistrict()+model.getName());
|
||||
}
|
||||
if (map != null && map.containsKey("level") && GAODE_LEVEL.contains(map.get("level"))
|
||||
&& map.containsKey("lng") && map.containsKey("lat")) {
|
||||
String location = map.get("lng") + "," + map.get("lat");
|
||||
|
||||
Reference in New Issue
Block a user