吉安感知网项目-后端
linwei
2026-04-08 4a8f51cff0737417a28e8b95c618f4998ec9a904
opt:优化
1 files modified
2 ■■■ changed files
drone-service/drone-gd/src/main/java/org/sxkj/gd/utils/GdGeoAddressUtil.java 2 ●●● patch | view | raw | blame | history
drone-service/drone-gd/src/main/java/org/sxkj/gd/utils/GdGeoAddressUtil.java
@@ -103,7 +103,7 @@
            return null;
        }
        try {
            log.debug("天地图逆地理编码结果:{}", response);
            log.info("天地图逆地理编码结果:{}", response);
            JsonNode root = OBJECT_MAPPER.readTree(response);
            String countyCode = root.path("result").path("addressComponent").path("county_code").asText();
            return StringUtil.isBlank(countyCode) ? null : countyCode;