From beab7cd2ee299fd218b8a5e2ab20045d8e9509ef Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Mon, 21 Apr 2025 15:58:09 +0800
Subject: [PATCH] feat: 更换参数

---
 src/api/home/index.js |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/api/home/index.js b/src/api/home/index.js
index b4b3556..e5c8ed3 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -122,3 +122,11 @@
 	})
 }
 
+// 根据经纬度获取区域code
+export const getAreaCodeApi = (params) => {
+	return axios({
+		url: `https://restapi.amap.com/v3/geocode/regeo`,
+		method: 'post',
+		params
+	})
+}

--
Gitblit v1.9.3