From 01b9e7244825cac11146e3961cafa6525dad56f1 Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期五, 25 四月 2025 17:24:33 +0800
Subject: [PATCH] fix:水温监控添加定时器

---
 src/api/screen/monitor/index.js |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/api/screen/monitor/index.js b/src/api/screen/monitor/index.js
index 84429ea..7c6c99f 100644
--- a/src/api/screen/monitor/index.js
+++ b/src/api/screen/monitor/index.js
@@ -10,4 +10,25 @@
         method: 'post',
         data
     })
+}
+
+/**
+ * 获取水温监控点参数
+ */
+export const getTempMonitorConfig = () => {
+    return publicRequest({
+        url: '/waterTemperature/getIntervalData',
+        method: 'get'
+    })
+}
+
+/**
+ * 修改水温监控点参数
+ */
+export const editTempMonitorConfig = (data) => {
+    return publicRequest({
+        url: '/waterTemperature/editIntervalData',
+        method: 'post',
+        data
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3