From c903a3606fa825e5ecb9eaefa4127f6f9cd1fc07 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期五, 17 四月 2026 11:53:51 +0800
Subject: [PATCH] [feat] 交易策略配置管理

---
 xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/controller/XpMapController.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/controller/XpMapController.java b/xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/controller/XpMapController.java
index f313257..c08b40a 100644
--- a/xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/controller/XpMapController.java
+++ b/xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/controller/XpMapController.java
@@ -6,7 +6,7 @@
 import com.xiaopeng.api.dto.map.OrderRouteAndFareDto;
 import com.xiaopeng.api.dto.map.RouteAndFareDto;
 import com.xiaopeng.api.feignClient.order.XpOrderClient;
-import com.xiaopeng.api.vo.map.WeatherVo;
+import com.xiaopeng.api.dto.WeatherDTO;
 import com.xiaopeng.api.vo.map.PointByIpVo;
 import com.xiaopeng.api.vo.operation.RouteVo;
 import com.xiaopeng.common.core.domain.R;
@@ -191,7 +191,7 @@
 
     @ApiOperation(value = "获取天气信息", tags = {"内部-调价"})
     @GetMapping("/logan/inner/weatherInfo")
-    public R<WeatherVo> weather(@RequestParam String city) throws IOException {
+    public R<WeatherDTO> weather(@RequestParam String city) throws IOException {
 
         try (CloseableHttpClient httpClient = HttpClients.createDefault()) {
             HttpGet httpGet = new HttpGet(String.format(WEATHER_URL, key, city));
@@ -200,7 +200,7 @@
                 if (entity != null) {
                     String resp = EntityUtils.toString(entity, StandardCharsets.UTF_8);
                     System.out.println(resp);
-                    return R.ok(om.readValue(resp, WeatherVo.class));
+                    return R.ok(om.readValue(resp, WeatherDTO.class));
                 }
                 return R.fail("获取天气信息失败");
             }

--
Gitblit v1.7.1