From a959ea6449c07afdd110968f43f7842a3d4b5a0b Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Wed, 10 Sep 2025 11:11:49 +0800
Subject: [PATCH] feat: 过滤下线的机巢

---
 src/api/home/aggregation.js |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/src/api/home/aggregation.js b/src/api/home/aggregation.js
index 148707f..b31f892 100644
--- a/src/api/home/aggregation.js
+++ b/src/api/home/aggregation.js
@@ -8,19 +8,11 @@
 	})
 }
 
-export const getDeviceRegion = params => {
+export const getDeviceRegion = data => {
 	return request({
 		url: '/drone-device-core/manage/api/v1/devices/getDeviceRegion',
-		method: 'get',
-		params,
-	})
-}
-
-export const getDeviceRegionByPost = data => {
-	return request({
-		url: '/drone-device-core/manage/api/v1/devices/getDeviceRegion',
-		method: 'post',
-		data,
+    method: 'post',
+    data:{ hidden_flag:0, ...data },
 	})
 }
 

--
Gitblit v1.9.3