Pu Zhibing
2025-04-07 2e6c812f367e1c51ec116a2eb1920872b46bfbea
ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/util/tencentMap/TencentMapUtil.java
@@ -27,6 +27,7 @@
   public static String inverseGeographicalAnalysis(String lon, String lat, boolean poi){
      HttpRequest get = HttpUtil.createGet("https://apis.map.qq.com/ws/geocoder/v1/?location=" + lat + "," + lon + "&key=" + key + "&get_poi=" + (poi ? 1 : 0));
      HttpResponse execute = get.execute();
      log.info("经纬度转行政区:{}", execute.body());
      JSONObject jsonObject = JSON.parseObject(execute.body());
      Integer status = jsonObject.getInteger("status");
      if(0 != status){