From ccee429d379e0108b7445f72ade8d97c110a6fb3 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期二, 09 十一月 2021 18:01:59 +0800
Subject: [PATCH] 问题修复

---
 src/pages/gb28181/index/api.ts |   43 +++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/src/pages/gb28181/index/api.ts b/src/pages/gb28181/index/api.ts
index dfb9eb5..235a523 100644
--- a/src/pages/gb28181/index/api.ts
+++ b/src/pages/gb28181/index/api.ts
@@ -10,7 +10,7 @@
 
 export const saveGB28181Config = (query: any) => {
   return request({
-    url: "/data/api-v/sysset/gb28181ConfigEdit",
+    url: "/data/api-v/sysset/gb28181ConfEdit",
     method: "post",
     data: query
   });
@@ -24,10 +24,49 @@
   });
 };
 
+export const getAllSubServer = (query: any) => {
+  return request({
+    url: "/data/api-v/gb28181/getAllSubServer",
+    method: "get",
+    params: query
+  });
+};
+
 export const newGb28181ID = (query: any) => {
   return request({
     url: "/data/api-v/gb28181/newGbId",
     method: "get",
     params: query
   });
-};
\ No newline at end of file
+};
+
+export const getLocalCameraTree = (query: any) => {
+  return request({
+    url: "/data/api-v/area/localmenu",
+    method: "get",
+    params: query
+  });
+};
+
+export const getGB28181CameraTree = (query: any) => {
+  return request({
+    url: "/data/api-v/area/gb28181Tree",
+    method: "get",
+    params: query
+  });
+};
+
+export const refreshGB28181Tree = () => {
+  return request({
+    url: "/data/api-v/area/gb28181RefreshTree",
+    method: "post",
+  });
+};
+
+export const saveGb28181CamTree = (query: any) => {
+  return request({
+    url: "/data/api-v/gb28181/saveGb28181CamTree",
+    method: "post",
+    data: query
+  });
+};

--
Gitblit v1.8.0