Newer
Older
urbanLifeline_YanAn / src / api / videoApi / videoApi.js
@zhangqy zhangqy on 3 Oct 798 bytes first commit
import request from '@/utils/request';

// 视频监控类型
export function cameraGroupList(data) {
  return request({
    url: '/business/camera/oneMap/group/list',
    method: 'post',
    data: data
  })
}
//获取在线离线数据
export function listCameraStatus(data) {
  return request({
    url: '/business/camera/oneMap/groupRelation/listCameraStatus',
    method: 'post',
    data: data
  })
}
//获取摄像头list
export function pageCameraInfoByCameraStatus(query) {
  return request({
    url: "/business/camera/oneMap/groupRelation/pageCameraInfoByCameraStatus",
    method: 'get',
    params: query
  })
}
//摄像头搜藏
export function collect_uncollect(data) {
  return request({
    url: '/business/cameraCollect/collect_uncollect',
    method: 'post',
    data: data
  })
}