From 4a800a8fc83c6bd1f86a8e847b079a51a7532c09 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 20 七月 2022 15:05:58 +0800 Subject: [PATCH] 修复国标配置的bug --- src/api/system.ts | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/src/api/system.ts b/src/api/system.ts index 301d097..da46f04 100644 --- a/src/api/system.ts +++ b/src/api/system.ts @@ -517,3 +517,34 @@ }) } +export const getAuthInfo = () => { + return request({ + url: "/data/api-v/sysset/showAuthInfo", + method: "get" + }) +} + +export const setAuthInfo = (data: any) => { + return request({ + url: "/data/api-v/sysset/setAuthInfo", + method: "post", + data + }) +} + +export const getRemoteServer = (data: any) => { + return request({ + url: "/data/api-v/sysset/getRemoteServer", + method: "post", + data + }) +} + +export const setRemoteServer = (data: any) => { + return request({ + url: "/data/api-v/sysset/setRemoteServer", + method: "post", + data:qs.stringify(data) + }) +} + -- Gitblit v1.8.0