heyujie
2021-06-24 e01cac63860c20450a6b9d8dd3a937dafdcc1d3b
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,66 @@
    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 uploadLKG = (data: any) =>
  request({
    url: '/data/api-c/lkg/uploadLKGExcel',
    method: 'post',
    data
  })
export const getLKGData = () =>
  request({
    url: '/data/api-c/lkg/getLKGData',
    method: 'get',
  })
export const delLKGData = (query: any) =>
  request({
    url: '/data/api-c/lkg/delLKGData',
    method: 'get',
    params: query
  })
export const getEventVideo = (query: any) => request({
  url: '/data/api-c/event/getEventClip',
  method: 'get',
  params: query
})
export const getVideoUrl = (query: any) => request({
  url: '/data/api-c/event/getEventVideo',
  method: 'get',
  params: query
})