puzhibing
2026-03-12 2b73d5cfaa57aee00ff41c37a136c764f5c8194b
xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/utils/GDMapGeocodingUtil.java
@@ -7,6 +7,7 @@
import com.xiaopeng.api.vo.operation.RouteVo;
import com.xiaopeng.common.core.utils.HttpUtils;
import com.xiaopeng.map.mangodb.service.XpGeoFencingPolygonService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
@@ -18,6 +19,7 @@
/**
 * 高德地图的地理编码工具类
 */
@Slf4j
@Component
@Lazy
public class GDMapGeocodingUtil {
@@ -117,7 +119,7 @@
        params.put("sdkVersion", "9.850.152.3.532");
        params.put("encoderVersion", "5.1");
        String post = HttpUtils.post(url, JSON.toJSONString(params));
        System.out.println("高德地图返回结果:"+ post);
        log.info("高德地图返回结果:"+ post);
        return post;
    }