Newer
Older
KaiFengPC / src / api / sponeScreen / videoApi.js
@zhangdeliang zhangdeliang on 20 May 798 bytes 项目初始化
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
  })
}