From 1e1e5f612f252d66b0d0386cf52873bb1f3f7d7b Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 01 九月 2023 16:10:37 +0800 Subject: [PATCH] 系统维护+系统监控器+调试工具的app 增加 --- src/api/system.ts | 80 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 80 insertions(+), 0 deletions(-) diff --git a/src/api/system.ts b/src/api/system.ts index d5c56cb..bf9b0c6 100644 --- a/src/api/system.ts +++ b/src/api/system.ts @@ -135,6 +135,86 @@ }); }; +export const setServerName = (query: any) => { + return request({ + url: "/data/api-v/sysset/setSerName", + method: "post", + data: qs.stringify(query) + }); +}; + +export const getWireList = (query: any) => { + return request({ + url: "/data/api-v/sysset/getNetWorkCards", + method: "get", + 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", + method: "post", + data: qs.stringify(query) + }); +}; + +export const getLangs = (query: any) => { + return request({ + url: "/data/api-v/sysset/getLangs", + method: "get", + data: query + }); +}; +export const getLang = (query: any) => { + return request({ + url: "/data/api-v/sysset/getLang", + method: "get", + data: query + }); +}; + + +export const getKeyboardLayouts = (query: any) => { + return request({ + url: "/data/api-v/sysset/getKeyboardLayouts", + method: "get", + 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", + method: "post", + data: qs.stringify(query) + }); +}; + +export const getNetWorkCardInfo = (query: any) => { + return request({ + url: "/data/api-v/sysset/getNetWorkCardInfo", + method: "post", + data: qs.stringify(query) + }); +}; + export const deleteDate = (query: any) => { return request({ url: "/data/api-v/clearData/deleteEsData", -- Gitblit v1.8.0