zhangzengfei
2022-07-20 4a800a8fc83c6bd1f86a8e847b079a51a7532c09
src/api/shuohuang.ts
@@ -1,4 +1,6 @@
import request from '@/scripts/httpRequest'
import qs from "qs";
//初始化查询
export const getlstInit = (query: any) =>
@@ -24,11 +26,11 @@
    method: 'get'
  })
export const updateVideoAnalyze = (data: any) =>
export const updateFollow = (data: any) =>
  request({
    url: '/data/api-c/lkg/update',
    url: '/data/api-c/lkg/updateFollow',
    method: 'post',
    data
    data: qs.stringify(data)
  })
export const getRelatedVideoInfo = (query: any) =>
  request({
@@ -125,6 +127,13 @@
    method: 'post',
    data
  })
export const cancelAssign = (data: any) =>
  request({
    url: '/data/api-c/lkg/cancelAssign',
    method: 'post',
    data
  })
export const uploadDirectory = (data: any) =>
  request({
    url: '/data/api-c/user/uploadMulti',
@@ -151,10 +160,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) =>
@@ -187,4 +196,16 @@
  url: '/data/api-c/event/getEventVideo',
  method: 'get',
  params: query
})
})
export const downloadFile = () => request({
  url: '/data/api-c/user/downloadExcel',
  method: 'get',
  responseType: "blob"
})
export const getHiddenEventStatistics = (query: any) => request({
  url: '/data/api-c/index/getHiddenEventStatistics',
  method: 'get',
  params: query
})