From 3f435173d4aa85d4cc1b2ce27aae81f3e5b042ea Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 21 Apr 2025 17:33:15 +0800
Subject: [PATCH] Merge branch 'dev' of http://139.196.74.78:10010/r/drone/command-center-dashboard into feature_1.0.0

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