From a6b8e203387cfa21dc569834324e2d1f814f884c Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期三, 07 七月 2021 14:10:27 +0800
Subject: [PATCH] 修改系统监控接口地址

---
 src/api/system.ts |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/src/api/system.ts b/src/api/system.ts
index 42866e0..22c50bc 100644
--- a/src/api/system.ts
+++ b/src/api/system.ts
@@ -24,7 +24,7 @@
 
 export const getGB28181Config = () => {
   return request({
-    url: "/data/api-v/sysset/gb28181ConfigShow",
+    url: "/data/api-v/gb28181/configShow",
     method: "get"
   });
 };
@@ -47,7 +47,7 @@
 
 export const saveGB28181Config = (query: any) => {
   return request({
-    url: "/data/api-v/sysset/gb28181ConfEdit",
+    url: "/data/api-v/gb28181/configEdit",
     method: "post",
     data: query
   });
@@ -150,6 +150,16 @@
     data: query
   });
 };
+
+
+export const setKeyboardLayout = (query: any) => {
+  return request({
+    url: "/data/api-v/sysset/setKeyboardLayout",
+    method: "post",
+    data: qs.stringify(query)
+  });
+};
+
 export const setNetWorkCard = (query: any) => {
   return request({
     url: "/data/api-v/sysset/setNetWorkCard",
@@ -181,6 +191,14 @@
     data: query
   });
 };
+export const getCurKeyboardLayout = (query: any) => {
+  return request({
+    url: "/data/api-v/sysset/getDefKeyboardLayout",
+    method: "get",
+    data: query
+  });
+};
+
 export const setLang = (query: any) => {
   return request({
     url: "/data/api-v/sysset/setLang",

--
Gitblit v1.8.0