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', }); } // 视频一张图树结构 export function getCameraTree(query) { return request({ url: '/business/cameraInfo/getCameraTree', method: 'post', params: query, }); }