Newer
Older
KaiFengPC / src / api / cameraResource / regionStation.js
@zhangdeliang zhangdeliang on 23 May 1 KB 初始化项目
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'
  })
}