forked from drone/command-center-dashboard

chenyao
2025-03-31 d75bfbae0212434d84676ae4d9e4a384ac4384df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import request from '@/axios';
 
// 机巢统计
export const getDeviceInfoNum = () => {
  return request({
    url: 'drone-device-core/manage/api/v1/devices/getDeviceInfoNum',
    method: 'get',
    params: {},
  });
};
// 机巢列表
export const selectDevicePage = (params) => {
  return request({
    url: `drone-device-core/manage/api/v1/devices/selectDevicePage?type=${params.type}&current=${params.current}&size=${params.size}`,
    method: 'post',
    data: {
      nickname: params.nickname,
      is_execute: params.is_execute,
    },
  });
};