From 2a45e8331f65e4fc6dee2fba898bfbeaa01b0f5c Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 21 Apr 2025 16:34:15 +0800
Subject: [PATCH] Merge branch 'test' of http://139.196.74.78:10010/r/drone/command-center-dashboard into test

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