From 81a0e26f1ba5fd0b95381ee902caa1579a8ec043 Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期五, 11 四月 2025 17:31:47 +0800
Subject: [PATCH] fix:修改报警提示

---
 src/api/screen/index.js |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/api/screen/index.js b/src/api/screen/index.js
index c9b5e24..c3c67fa 100644
--- a/src/api/screen/index.js
+++ b/src/api/screen/index.js
@@ -13,7 +13,7 @@
 }
 
 /**
- * 获取报警信息
+ * 获取泵房报警信息
  */
 export const getPumpWarning = (data) => {
     return publicRequest({
@@ -21,4 +21,15 @@
         method: 'post',
         data
     })
+}
+
+
+/**
+ * 获取报警code
+ */
+export const getWarningCode = () => {
+    return publicRequest({
+        url: '/heartbeatData/getByCode',
+        method: 'get'
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3