From 523bb8621ab2e37f4882ce82b4001e2ba24a3810 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Tue, 01 Apr 2025 15:14:08 +0800
Subject: [PATCH] feat: 增加巡检任务详情和巡检列表接口
---
src/api/home/machineNest.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/api/home/machineNest.js b/src/api/home/machineNest.js
index 8eff19d..c750f12 100644
--- a/src/api/home/machineNest.js
+++ b/src/api/home/machineNest.js
@@ -3,7 +3,7 @@
// 机巢统计
export const getDeviceInfoNum = () => {
return request({
- url: 'drone-device-core/manage/api/v1/devices/getDeviceInfoNum',
+ url: '/drone-device-core/manage/api/v1/devices/getDeviceInfoNum',
method: 'get',
params: {},
});
@@ -11,7 +11,7 @@
// 机巢列表
export const selectDevicePage = (params) => {
return request({
- url: `drone-device-core/manage/api/v1/devices/selectDevicePage?type=${params.type}¤t=${params.current}&size=${params.size}`,
+ url: `/drone-device-core/manage/api/v1/devices/selectDevicePage?type=${params.type}¤t=${params.current}&size=${params.size}`,
method: 'post',
data: {
nickname: params.nickname,
@@ -22,7 +22,7 @@
// 机巢数据
export const getFlightStatistics = (dockSn) => {
return request({
- url: `drone-device-core/manage/api/v1/devices/getFlightStatistics?dockSn=${dockSn}`,
+ url: `/drone-device-core/manage/api/v1/devices/getFlightStatistics?dockSn=${dockSn}`,
method: 'get',
params: {},
});
--
Gitblit v1.9.3