From 9f3c65dd2f4950c7aad44f4aea313f0e20ba9ee0 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Tue, 02 Aug 2022 11:40:16 +0800
Subject: [PATCH] login页面修改

---
 src/api/farm/farmingrecord.js |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/api/farm/farmingrecord.js b/src/api/farm/farmingrecord.js
index 8c7d355..8761274 100644
--- a/src/api/farm/farmingrecord.js
+++ b/src/api/farm/farmingrecord.js
@@ -299,3 +299,24 @@
         }
     })
 }
+// 获取在线设备信息
+export const getStationAndVideoCount = (params) => {
+    return request({
+        url: 'http://dev.jxpskj.com:8030/pyh-station/stationAndVideo/count',
+        method: 'get',
+        params: {
+            ...params
+        }
+    })
+}
+// 获取监控/监测设备列表
+export const getStationAndVideoList = (params) => {
+    return request({
+        url: 'http://dev.jxpskj.com:8030/pyh-station/stationAndVideo/queryStationAndVideoInfo',
+        method: 'get',
+        params: {
+            'type': "ALL"
+        }
+    })
+}
+

--
Gitblit v1.9.3