forked from drone/command-center-dashboard

chenyao
2025-04-01 c5f194fed4332c26a5fee81cc64e928ba3820be6
Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard
2 files modified
11 ■■■■ changed files
.env.development 4 ●●●● patch | view | raw | blame | history
src/api/home/machineNest.js 7 ●●●●● patch | view | raw | blame | history
.env.development
@@ -4,10 +4,10 @@
#接口地址
VITE_APP_API = /api
VITE_APP_API_URL = https://wrj.shuixiongit.com/api
# VITE_APP_API_URL = https://wrj.shuixiongit.com/api
# 连接本地服务器
# VITE_APP_API_URL = http://192.168.1.204/api
VITE_APP_API_URL = http://192.168.1.7
#调试参数
VITE_APP_DEBUG_KEY = saber
src/api/home/machineNest.js
@@ -9,14 +9,15 @@
  });
};
// 机巢列表
export const selectDevicePage = (params) => {
export const selectDevicePage = ({ nickname,is_execute, ...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,
      nickname,
      is_execute,
    },
    params,
  });
};
// 机巢数据