Newer
Older
KaiFengPC / src / api / cameraResource / cameraInfo.js
@zhangdeliang zhangdeliang on 20 May 1 KB 项目初始化
import request from '@/utils/request';

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

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

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

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

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

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