import request from '@/utils/request' // 查询站点和摄像头关联分页 export function pagesiteCameraRelation(query) { return request({ url: '/business/siteCameraRelation/page', method: 'get', params: query }) } // 查询站点和摄像头关联列表 export function listsiteCameraRelation(query) { return request({ url: '/business/siteCameraRelation/list', method: 'get', params: query }) } // 查询站点和摄像头关联详细 export function getsiteCameraRelation(id) { return request({ url: '/business/siteCameraRelation/' + id, method: 'get' }) } // 新增站点和摄像头关联 export function addsiteCameraRelation(data) { return request({ url: '/business/siteCameraRelation/add', method: 'post', data: data }) } // 修改站点和摄像头关联 export function updatesiteCameraRelation(data) { return request({ url: '/business/siteCameraRelation/edit', method: 'put', data: data }) } // 删除站点和摄像头关联 export function delsiteCameraRelation(id) { return request({ url: '/business/siteCameraRelation/' + id, method: 'delete' }) } export function rtuSiteInfolist(params) { return request({ url: '/business/rtuSiteInfo/list', method: 'get', params }) }