From 1daae83b90e0772a4e8d4e59e4f135af159c9cf3 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期四, 02 十二月 2021 11:27:01 +0800
Subject: [PATCH] 完善事件推送日志

---
 src/api/log.ts |   53 +++++++++++++++++++++++++++++------------------------
 1 files changed, 29 insertions(+), 24 deletions(-)

diff --git a/src/api/log.ts b/src/api/log.ts
index 603edc8..769b924 100644
--- a/src/api/log.ts
+++ b/src/api/log.ts
@@ -1,35 +1,40 @@
 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 queryDataPushLog = (data: any) => {
+  return request({
+    url: "/data/api-v/log/ruleServerLog",
+    method: "post",
+    data
+  });
+};

--
Gitblit v1.8.0