From 1e1e5f612f252d66b0d0386cf52873bb1f3f7d7b Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 01 九月 2023 16:10:37 +0800
Subject: [PATCH] 系统维护+系统监控器+调试工具的app 增加

---
 src/api/log.ts |   49 ++++++++++++++++++++++++++++---------------------
 1 files changed, 28 insertions(+), 21 deletions(-)

diff --git a/src/api/log.ts b/src/api/log.ts
index 603edc8..c1d29a8 100644
--- a/src/api/log.ts
+++ b/src/api/log.ts
@@ -1,35 +1,42 @@
-import request from "@/scripts/httpRequest";
-
+import request from "@/scripts/httpRequest"
 
 // /data/api-v//
 
-
 export const queryOperationLog = (data: any) => {
-    return request({
-        url: "/data/api-v/log/queryOperationLog",
-        method: "post",
-        data
-    })
+  return request({
+    url: "/data/api-v/log/queryOperationLog",
+    method: "post",
+    data
+  })
 }
 
 export const getOperations = (query: any) => {
-    return request({
-        url: "/data/api-v/log/operations",
-        method: "get",
+  return request({
+    url: "/data/api-v/log/operations",
+    method: "get",
     params: query
-    })
+  })
 }
 export const getModules = (query: any) => {
-    return request({
-        url: "/data/api-v/log/modules",
-        method: "get",
+  return request({
+    url: "/data/api-v/log/modules",
+    method: "get",
     params: query
-    })
+  })
 }
+
 export const queryScheduleLog = (data: any) => {
-    return request({
-        url: "/data/api-v/log/queryScheduleLog",
-        method: "post",
-        data
-    })
+  return request({
+    url: "/data/api-v/log/queryScheduleLog",
+    method: "post",
+    data
+  })
+}
+
+export const querySystemLog = (data: any) => {
+  return request({
+    url: "/data/api-l/vasystemLogs",
+    method: "post",
+    data
+  })
 }

--
Gitblit v1.8.0