Newer
Older
KaiFengPC / src / api / cameraResource / regionStation.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
import request from '@/utils/request';

// 搜索摄像头资源所属区域维护分页
export function pageregionStation(query) {
  return request({
    url: '/business/regionStation/page',
    method: 'get',
    params: query,
  });
}

// 搜索摄像头资源所属区域维护列表
export function listregionStation(query) {
  return request({
    url: '/business/regionStation/list',
    method: 'get',
    params: query,
  });
}

// 搜索摄像头资源所属区域维护详细
export function getregionStation(id) {
  return request({
    url: '/business/regionStation/' + id,
    method: 'get',
  });
}

// 新增摄像头资源所属区域维护
export function addregionStation(data) {
  return request({
    url: '/business/regionStation/add',
    method: 'post',
    data: data,
  });
}

// 修改摄像头资源所属区域维护
export function updateregionStation(data) {
  return request({
    url: '/business/regionStation/edit',
    method: 'put',
    data: data,
  });
}

// 删除摄像头资源所属区域维护
export function delregionStation(id) {
  return request({
    url: '/business/regionStation/' + id,
    method: 'delete',
  });
}