From 8fa0d6fdb819ddb15b22250d019ce0a564632959 Mon Sep 17 00:00:00 2001
From: xiebin <vip_xiaobin810@163.com>
Date: Mon, 21 Apr 2025 19:24:45 +0800
Subject: [PATCH] Merge branch 'test' into prod

---
 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