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