fuliqi
2024-11-05 1e8132692c72c30d49e6f5173edecc2a263e1987
src/api/platform/threshold.js
@@ -12,7 +12,7 @@
// 查询运维阈值详细
export function getVideo(id) {
  return request({
    url: '/threshold/video' + id,
    url: '/threshold/video/' + id,
    method: 'get'
  })
}
@@ -20,7 +20,7 @@
// 查询运维阈值详细
export function getCar(id) {
  return request({
    url: '/threshold/car' + id,
    url: '/threshold/car/' + id,
    method: 'get'
  })
}
@@ -28,7 +28,7 @@
// 查询运维阈值详细
export function getFace(id) {
  return request({
    url: '/threshold/face' + id,
    url: '/threshold/face/' + id,
    method: 'get'
  })
}
@@ -85,3 +85,16 @@
    data: data
  })
}
// 导入
export function importData(data) {
  return request({
    url: '/threshold/import',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'multipart/form-data'
    },
    timeout: 150000
  })
}