Newer
Older
Nanping_sponge_SJJC / src / api / cameraResource / cameraInfo.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 数据检测
import request from '@/utils/request'

// 查询自定义视频分组-视频信息分页
export function pagecameraInfo(query) {
  return request({
    url: '/cameraResource/cameraInfo/page',
    method: 'get',
    params: query
  })
}

// 查询自定义视频分组-视频信息列表
export function listcameraInfo(query) {
  return request({
    url: '/cameraResource/cameraInfo/list',
    method: 'get',
    params: query
  })
}

// 查询自定义视频分组-视频信息详细
export function getcameraInfo(id) {
  return request({
    url: '/cameraResource/cameraInfo/' + id,
    method: 'get'
  })
}

// 新增自定义视频分组-视频信息
export function addcameraInfo(data) {
  return request({
    url: '/cameraResource/cameraInfo/add',
    method: 'post',
    data: data
  })
}

// 修改自定义视频分组-视频信息
export function updatecameraInfo(data) {
  return request({
    url: '/cameraResource/cameraInfo/edit',
    method: 'put',
    data: data
  })
}

// 删除自定义视频分组-视频信息
export function delcameraInfo(id) {
  return request({
    url: '/cameraResource/cameraInfo/' + id,
    method: 'delete'
  })
}