From 9320341d835e0c4e4632d8682bddf3444c841457 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 08 七月 2021 15:53:41 +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