Newer
Older
Nanping_sponge_HHDP / src / api / videoApi / videoApi.js
@liyingjing liyingjing on 25 Oct 2023 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
  })
}