import request from '@/utils/request' // 查询站点和摄像头关联分页 export function pagesiteCameraRelation (query) { return request({ url: '/business/cameraRtuSiteRelation/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/cameraRtuSiteRelation/' + id, method: 'get' }) } // 新增站点和摄像头关联 export function addsiteCameraRelation (data) { return request({ url: '/business/cameraRtuSiteRelation/add', method: 'post', data: data }) } // 修改站点和摄像头关联 export function updatesiteCameraRelation (data) { return request({ url: '/business/cameraRtuSiteRelation/edit', method: 'put', data: data }) } // 删除站点和摄像头关联 export function delsiteCameraRelation (id) { return request({ url: '/business/cameraRtuSiteRelation/' + id, method: 'delete' }) } export function rtuSiteInfolist (params) { return request({ url: '/business/rtuSiteInfo/listContainDelete', method: 'get', params }) }