From 6b1c06ff714863c7a791d8a7ac921e7ec5da8a97 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 14 五月 2024 16:00:59 +0800
Subject: [PATCH] 修改jquery引入

---
 src/api/monitorDataApi.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/api/monitorDataApi.js b/src/api/monitorDataApi.js
index 119248c..fe2819d 100644
--- a/src/api/monitorDataApi.js
+++ b/src/api/monitorDataApi.js
@@ -31,5 +31,10 @@
     params += startTime ? `&startTime=${startTime}` : '';
     params += endTime ? `&endTime=${endTime}` : '';
     return $http.get(`air/realtime/sec?${params}`).then((res) => res.data);
+  },
+
+  fetchNextData({ deviceCode, updateTime, perPage = 50 }) {
+    let params = `deviceCode=${deviceCode}&updateTime=${updateTime}&perPage=${perPage}`;
+    return $http.get(`air/realtime/sec/next?${params}`).then((res) => res.data);
   }
 };

--
Gitblit v1.9.3