feat:门店经纬度更新
This commit is contained in:
@@ -79,7 +79,7 @@ public class GeoMapUtil {
|
|||||||
String district = addressComponent.get("district") instanceof String?(String) addressComponent.get("district"):city;
|
String district = addressComponent.get("district") instanceof String?(String) addressComponent.get("district"):city;
|
||||||
String township =addressComponent.get("township") instanceof String?(String) addressComponent.get("township"):district;
|
String township =addressComponent.get("township") instanceof String?(String) addressComponent.get("township"):district;
|
||||||
String address = geoJson.getString("formatted_address");
|
String address = geoJson.getString("formatted_address");
|
||||||
new AddressInfo(province, city, district, township, address);
|
return new AddressInfo(province, city, district, township, address);
|
||||||
}catch (Exception exception){
|
}catch (Exception exception){
|
||||||
log.info("高德数据获取异常{},{}", JSONObject.toJSONString(addressComponent),exception.getMessage());
|
log.info("高德数据获取异常{},{}", JSONObject.toJSONString(addressComponent),exception.getMessage());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user