From fedb07902d62aa40892a9c47ad7f3fd5ead30b37 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 18 七月 2022 10:42:13 +0800
Subject: [PATCH] 添加数据上报应用

---
 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