From 58bf48cea61c6c5b4381a4b8ff5b4a39eb4671eb Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期五, 10 六月 2022 09:36:03 +0800 Subject: [PATCH] 国标摄像机信息接口 --- src/api/camera.ts | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/api/camera.ts b/src/api/camera.ts index 59422ea..e2e07dc 100644 --- a/src/api/camera.ts +++ b/src/api/camera.ts @@ -1,13 +1,6 @@ import request from "@/scripts/httpRequest"; import qs from "qs"; -export const checkCameraConnet = (query: any) => { - return request({ - url: "/data/api-v/area/localmenu", - method: "get", - params: query - }); -}; export const createCamera = (camera: any) => { return request({ @@ -33,6 +26,14 @@ }); }; +export const getGB28181CameraInfo = (id: string) => { + return request({ + url: "/data/api-v/gb28181/camera/show", + method: "get", + params: { cid: id } + }); +}; + export const delCamera = (id: string) => { return request({ url: "/data/api-v/camera/del", -- Gitblit v1.8.0