From e8acf56b807be105702321a0be2119963fa69e03 Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期四, 24 四月 2025 17:27:10 +0800
Subject: [PATCH] fix:修改水温监控参数

---
 src/api/facility/index.js |   21 ++++-----------------
 1 files changed, 4 insertions(+), 17 deletions(-)

diff --git a/src/api/facility/index.js b/src/api/facility/index.js
index 9b3b604..2599d5b 100644
--- a/src/api/facility/index.js
+++ b/src/api/facility/index.js
@@ -30,20 +30,6 @@
 				data,
 			});
 		},
-        stop: (data) => {
-			return publicRequest({
-				url: `/waterFacility/stop?id=${data}`,
-				method: 'post',
-				data,
-			});
-		},
-        enable: (data) => {
-			return publicRequest({
-				url: `/waterFacility/enable?id=${data}`,
-				method: 'post',
-				data,
-			});
-		},
         search: (data) => {
 			return publicRequest({
 				url: '/waterFacility/search',
@@ -51,12 +37,13 @@
 				data,
 			});
 		},
-        getList: (data) => {
+		get: (params) => {
 			return publicRequest({
-				url: `/waterFacility/getList`,
+				url: '/waterFacility/get',
 				method: 'get',
-				data,
+				params
 			});
 		},
+
 	};
 }

--
Gitblit v1.9.3