From c4aae8335f64889b323d7c3c040be65bbbfb74c1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 15 Sep 2025 14:35:38 +0800
Subject: [PATCH] feat:跳转地址切回
---
src/api/logs.js | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/src/api/logs.js b/src/api/logs.js
index 9368365..5bea0df 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,
},
@@ -60,3 +62,12 @@
},
});
};
+
+// 历史轨迹记录
+export const getHistoryTrack = (params) => {
+ return request({
+ url: '/drone-device-core/log/droneFlightLog/page',
+ method: 'get',
+ params
+ })
+}
--
Gitblit v1.9.3