From 0daac085e308ab5dd5557048bbcb28473ae1b7df Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期三, 27 七月 2022 17:13:32 +0800 Subject: [PATCH] gb18186 --- src/api/area.ts | 38 +++++++++++++++++++++----------------- 1 files changed, 21 insertions(+), 17 deletions(-) diff --git a/src/api/area.ts b/src/api/area.ts index 087b428..a8ce2ad 100644 --- a/src/api/area.ts +++ b/src/api/area.ts @@ -49,25 +49,27 @@ }); }; -export const getCameraBaseImage = (query: any) => { +export const getCameraBaseImage = (data: any) => { return request({ - url: "/data/api-v/gb28181/camera/capture", - method: "get", - params: query - }); -}; - -export const getGb28181Pool = () => { - return request({ - url: "/data/api-v/gb28181/treeSelected", - method: "get" - }); -}; - -export const refreshGB28181Tree = () => { - return request({ - url: "/data/api-v/gb28181/treeRefresh", + url: "/saas/api-s/gb28181/camera/capture", method: "post", + data + }); +}; + +export const getGb28181Pool = (data) => { + return request({ + url: "/saas/api-s/gb28181/treeSelected", + method: "post", + data + }); +}; + +export const refreshGB28181Tree = (data) => { + return request({ + url: "/saas/api-s/gb28181/treeRefresh", + method: "post", + data }); }; @@ -78,3 +80,5 @@ data: qs.stringify(query) }); }; + + -- Gitblit v1.8.0