From 2a45e8331f65e4fc6dee2fba898bfbeaa01b0f5c Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 21 Apr 2025 16:34:15 +0800
Subject: [PATCH] Merge branch 'test' of http://139.196.74.78:10010/r/drone/command-center-dashboard into test
---
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