From 3f3cb29cd9ffb7a39d3ed9e562a4c77a859a3f88 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 16 Aug 2025 16:40:00 +0800
Subject: [PATCH] feat: areacode传入
---
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