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 |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/api/logs.js b/src/api/logs.js
index 287ace9..eacbce0 100644
--- a/src/api/logs.js
+++ b/src/api/logs.js
@@ -1,32 +1,35 @@
 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
     }
   })
 }
 
-export const getApiList = (current, size) => {
+export const getApiList = (current, size,params) => {
   return request({
-    url: '/api/blade-log/api/list',
+    url: '/api/blade-log/api/page',
     method: 'get',
     params: {
+      ...params,
       current,
       size
     }
   })
 }
 
-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