From 3a8d7ebd8475106965081c1dde022ea3642e9d93 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 14 Apr 2025 17:56:28 +0800
Subject: [PATCH] feat: 当前任务和历史任务分页传参改成地址后传参
---
src/api/logs.js | 104 ++++++++++++++++++++++++++--------------------------
1 files changed, 52 insertions(+), 52 deletions(-)
diff --git a/src/api/logs.js b/src/api/logs.js
index 9368365..07213c8 100644
--- a/src/api/logs.js
+++ b/src/api/logs.js
@@ -1,62 +1,62 @@
-import request from '@/axios';
+import request from '@/axios'
export const getUsualList = (current, size) => {
- return request({
- url: '/blade-log/usual/list',
- method: 'get',
- params: {
- current,
- size,
- },
- });
-};
+ return request({
+ url: '/blade-log/usual/list',
+ method: 'get',
+ params: {
+ current,
+ size,
+ },
+ })
+}
export const getApiList = (current, size) => {
- return request({
- url: '/blade-log/api/list',
- method: 'get',
- params: {
- current,
- size,
- },
- });
-};
+ return request({
+ url: '/blade-log/api/list',
+ method: 'get',
+ params: {
+ current,
+ size,
+ },
+ })
+}
export const getErrorList = (current, size) => {
- return request({
- url: '/blade-log/error/list',
- method: 'get',
- params: {
- current,
- size,
- },
- });
-};
+ return request({
+ url: '/blade-log/error/list',
+ method: 'get',
+ params: {
+ current,
+ size,
+ },
+ })
+}
export const getUsualLogs = id => {
- return request({
- url: '/blade-log/usual/detail',
- method: 'get',
- params: {
- id,
- },
- });
-};
+ return request({
+ url: '/blade-log/usual/detail',
+ method: 'get',
+ params: {
+ id,
+ },
+ })
+}
export const getApiLogs = id => {
- return request({
- url: '/blade-log/api/detail',
- method: 'get',
- params: {
- id,
- },
- });
-};
+ return request({
+ url: '/blade-log/api/detail',
+ method: 'get',
+ params: {
+ id,
+ },
+ })
+}
export const getErrorLogs = id => {
- return request({
- url: '/blade-log/error/detail',
- method: 'get',
- params: {
- id,
- },
- });
-};
+ return request({
+ url: '/blade-log/error/detail',
+ method: 'get',
+ params: {
+ id,
+ },
+ })
+}
--
Gitblit v1.9.3