From c695410b656d40f87e6a93de5f2a1876878273a4 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Apr 2025 15:27:16 +0800
Subject: [PATCH] fix: 单个机巢详情里面的飞行建议10%

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