From 66fc87a4d5feb79953fb87f458d207af598b3d0e Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 16 Aug 2025 14:40:44 +0800
Subject: [PATCH] feat:文件夹添加参数
---
src/api/logs.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/api/logs.js b/src/api/logs.js
index 9368365..40f602d 100644
--- a/src/api/logs.js
+++ b/src/api/logs.js
@@ -11,22 +11,24 @@
});
};
-export const getApiList = (current, size) => {
+export const getApiList = (current, size,params) => {
return request({
- url: '/blade-log/api/list',
+ url: '/blade-log/api/page',
method: 'get',
params: {
+ ...params,
current,
size,
},
});
};
-export const getErrorList = (current, size) => {
+export const getErrorList = (current, size,params) => {
return request({
url: '/blade-log/error/list',
method: 'get',
params: {
+ ...params,
current,
size,
},
--
Gitblit v1.9.3