Newer
Older
Nanping_sponge_SJJC / src / api / business / regionStation.js
@liyingjing liyingjing on 25 Oct 2023 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'
  })
}