From d5b2bf5ffaa96d002b21575016a262b376763a74 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 11 三月 2021 15:46:00 +0800
Subject: [PATCH] 已激活但未安装的算法的弹窗显示安装而非激活,添加激活安装成功的提示

---
 src/api/shuohuang.ts |   36 +++++++++++++++++++++++++++++-------
 1 files changed, 29 insertions(+), 7 deletions(-)

diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index 8c60ae4..bb13c83 100644
--- a/src/api/shuohuang.ts
+++ b/src/api/shuohuang.ts
@@ -126,10 +126,32 @@
     data
   })
 
-export const uploadFile = (data:any) =>{
-  request({
-    url:'/data/api-c/user/uploadFile',
-    method:'post',
-    data
-  })
-}
+export const getTransferRecord = (query:any) => request({
+  url:'/data/api-c/saverecord/getlst',
+  method: 'get',
+  params: query
+})
+
+export const getTransferStatusList = () => request({
+  url:'/data/api-c/saverecord/getStatusList',
+  method: 'get'
+})
+export const addDevice = (data:any)=>request({
+  url:'/data/api-c/device/add',
+  method: 'post',
+  data
+})
+export const getDeviceList = ()=>request({
+  url:'/data/api-c/device/getlst',
+  method: 'get'
+})
+export const getDeviceInfoById = (query:any) => request({
+  url:'/data/api-c/slot/getlst',
+  method: 'get',
+  params: query
+})
+export const getEventVideo = (query:any) => request({
+  url:'/data/api-c/lkg/getEventClip',
+  method: 'get',
+  params: query
+})
\ No newline at end of file

--
Gitblit v1.8.0