From 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Apr 2025 18:29:09 +0800
Subject: [PATCH] fix: 天气显示
---
src/api/home/index.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/api/home/index.js b/src/api/home/index.js
index e5c8ed3..cd3b5d6 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -124,9 +124,9 @@
// 根据经纬度获取区域code
export const getAreaCodeApi = (params) => {
- return axios({
- url: `https://restapi.amap.com/v3/geocode/regeo`,
- method: 'post',
+ return request({
+ url: `/drone-device-core/map/amap/searchByLatLng?`,
+ method: 'get',
params
})
}
--
Gitblit v1.9.3