zhangzengfei
2021-05-21 5ec1554f347f91bcd1fbc8e7550fde8edec5a3d3
src/api/shuohuang.ts
@@ -36,7 +36,7 @@
    method: 'get',
    params: query
  })
  export const getCarVideos = (query: any) =>
export const getCarVideos = (query: any) =>
  request({
    url: '/data/api-c/lkg/getCarVideos',
    method: 'get',
@@ -125,39 +125,44 @@
    method: 'post',
    data
  })
export const uploadDirectory = (data:any) =>
export const uploadDirectory = (data: any) =>
  request({
    url:'/data/api-c/user/uploadMulti',
    method:'post',
    url: '/data/api-c/user/uploadMulti',
    method: 'post',
    data
  })
export const getTransferRecord = (query:any) => request({
  url:'/data/api-c/saverecord/getlst',
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',
  url: '/data/api-c/saverecord/getStatusList',
  method: 'get'
})
export const addDevice = (data:any)=>request({
  url:'/data/api-c/device/add',
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',
export const getDeviceList = () => request({
  url: '/data/api-c/device/getlst',
  method: 'get'
})
export const getDeviceInfoById = (query:any) => request({
  url:'/data/api-c/slot/getlst',
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',
export const getEventVideo = (query: any) => request({
  url: '/data/api-c/lkg/getEventClip',
  method: 'get',
  params: query
})
export const downloadFile = (query: any) => request({
  url: '/data/api-c/lkg/getEventClip',
  method: 'get',
  params: query
})