From 7712b788faf815e8e39d5bbbd61b5e4261eee7b2 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期日, 28 二月 2021 18:54:54 +0800 Subject: [PATCH] 朔黄首页更新 --- src/api/shuohuang.ts | 35 ++++++++++++++++++++++++++++++++--- 1 files changed, 32 insertions(+), 3 deletions(-) diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts index e4a1af1..bb13c83 100644 --- a/src/api/shuohuang.ts +++ b/src/api/shuohuang.ts @@ -119,10 +119,39 @@ method: 'post', data }) -export const uploadDirectory = (data:any) =>{ +export const uploadDirectory = (data:any) => request({ - url:'/data/api-c/user/uploadFile', + url:'/data/api-c/user/uploadMulti', 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