From 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Apr 2025 18:29:09 +0800
Subject: [PATCH] fix: 天气显示

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

diff --git a/src/api/home/common.js b/src/api/home/common.js
index 0ebc986..2916599 100644
--- a/src/api/home/common.js
+++ b/src/api/home/common.js
@@ -25,3 +25,18 @@
 		params,
 	})
 }
+// 地址搜索
+export const searchByKeyword = params => {
+	return request({
+		url: `/drone-device-core/map/amap/searchByKeyword?keyword=${params}`,
+		method: 'get',
+	})
+}
+// 机巢搜索
+export const selectDeviceList = data => {
+	return request({
+		url: `/drone-device-core/manage/api/v1/devices/selectDeviceList`,
+		method: 'post',
+		data: data,
+	})
+}

--
Gitblit v1.9.3