主题 : 操作异常 |
级别: 举人
![]() |
1# 发表于:2025-06-23 17:51:26 IP:36.216.*.*
|
||||
---|---|---|---|---|---|
级别: 举人
![]() |
5# 发表于:2025-07-10 11:24:24 IP:36.206.*.*
之前是好的,后面页面一打开就提示操作异常 |
||
---|---|---|---|
级别: 总版主
![]() |
6# 发表于:2025-07-10 13:22:01 IP:183.111.*.*
public static String getAddressNameByGeocoder1(Double lng, Double lat) {
String jsonString = sendGet(ADDRESS, lng, lat); if (StringUtils.isBlank(jsonString)) { return null; } JSONObject jsonObject = JSONObject.parseObject(jsonString); if (jsonObject == null) { return null; } final JSONObject regeocode = jsonObject.getJSONObject("regeocode"); String addressName = null; if (regeocode != null) { addressName = regeocode.getString("addressComponent"); } return addressName; } 这个方法更新替换下看看 |
||
---|---|---|---|
1
共1页