From 41aacf110288329a6beb494ccccaeabd217a08b9 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 05 十二月 2023 18:05:46 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/UBCS-WEB/src/api/logs.js | 45 +++++++++++++++++++++++++++++++++++++++------
1 files changed, 39 insertions(+), 6 deletions(-)
diff --git a/Source/UBCS-WEB/src/api/logs.js b/Source/UBCS-WEB/src/api/logs.js
index 287ace9..82b1b69 100644
--- a/Source/UBCS-WEB/src/api/logs.js
+++ b/Source/UBCS-WEB/src/api/logs.js
@@ -2,7 +2,7 @@
export const getUsualList = (current, size) => {
return request({
- url: '/api/blade-log/usual/list',
+ url: '/api/ubcs-log/usual/list',
method: 'get',
params: {
current,
@@ -13,7 +13,7 @@
export const getApiList = (current, size) => {
return request({
- url: '/api/blade-log/api/list',
+ url: '/api/ubcs-log/api/list',
method: 'get',
params: {
current,
@@ -24,7 +24,7 @@
export const getErrorList = (current, size) => {
return request({
- url: '/api/blade-log/error/list',
+ url: '/api/ubcs-log/error/list',
method: 'get',
params: {
current,
@@ -36,7 +36,7 @@
export const getUsualLogs = (id) => {
return request({
- url: '/api/blade-log/usual/detail',
+ url: '/api/ubcs-log/usual/detail',
method: 'get',
params: {
id,
@@ -45,7 +45,7 @@
}
export const getApiLogs = (id) => {
return request({
- url: '/api/blade-log/api/detail',
+ url: '/api/ubcs-log/api/detail',
method: 'get',
params: {
id,
@@ -54,7 +54,7 @@
}
export const getErrorLogs = (id) => {
return request({
- url: '/api/blade-log/error/detail',
+ url: '/api/ubcs-log/error/detail',
method: 'get',
params: {
id,
@@ -62,3 +62,36 @@
})
}
+export const getLazyList = (data) => {
+ return request({
+ url: '/api/ubcs-log/localLog/lazy-list',
+ method: 'post',
+ data: data,
+ })
+}
+export const downLoadLog = (data) => {
+ return request({
+ url: '/api/ubcs-log/localLog/downLoadLog',
+ method: 'post',
+ data:data,
+ })
+}
+export const deleteLocalLog = (data) => {
+ return request({
+ url: '/api/ubcs-log/localLog/deleteLogFile',
+ method: 'delete',
+ data: data
+ })
+}
+
+export const listLogOperate = (page,limit,params) => {
+ return request({
+ url: '/api/ubcs-log/operateLog/listLogOperate',
+ method: 'get',
+ params: {
+ page,
+ limit,
+ ...params,
+ }
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3