From 5e2aafeede13d337380f736567caf74f49713be7 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:38:32 +0800
Subject: [PATCH] 代码优化

---
 src/api/logs.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/api/logs.js b/src/api/logs.js
index 826221d..eacbce0 100644
--- a/src/api/logs.js
+++ b/src/api/logs.js
@@ -1,10 +1,11 @@
 import request from '@/router/axios';
 
-export const getUsualList = (current, size) => {
+export const getUsualList = (current, size,params) => {
   return request({
     url: '/api/blade-log/usual/list',
     method: 'get',
     params: {
+      ...params,
       current,
       size
     }
@@ -23,11 +24,12 @@
   })
 }
 
-export const getErrorList = (current, size) => {
+export const getErrorList = (current, size,params) => {
   return request({
     url: '/api/blade-log/error/list',
     method: 'get',
     params: {
+      ...params,
       current,
       size
     }

--
Gitblit v1.9.3