From 79adf658d8ad7d06ff0de4c03279fd978f20fe91 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期五, 02 七月 2021 16:53:25 +0800
Subject: [PATCH] 按设备状态筛选

---
 src/api/shuohuang.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index 80244a4..ae2ba4c 100644
--- a/src/api/shuohuang.ts
+++ b/src/api/shuohuang.ts
@@ -153,10 +153,10 @@
   url: '/data/api-c/device/getlst',
   method: 'get'
 })
-export const getDeviceInfoById = (query: any) => request({
+export const getDeviceInfo = (data: any) => request({
   url: '/data/api-c/slot/getlst',
-  method: 'get',
-  params: query
+  method: 'post',
+  data: data
 })
 
 export const uploadLKG = (data: any) =>

--
Gitblit v1.8.0