feat: 完善机巢模拟调试与素材交付交互
增加禁飞期间的设备指令拦截及本地模拟拍摄流程;适配订单素材库和景区空境库,完善素材筛选、预览与下载;订单交付入口改为方式选择弹窗并复用云端上传。补充单元测试、接口记录和模拟器截图。
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"source": "local_mock",
|
||||
"network_sent": false,
|
||||
"response_body": {
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"airport_sn": "LOCAL-MOCK-DOCK-201",
|
||||
"order_flight_task": {
|
||||
"id": 901,
|
||||
"order_number": "LOCAL-MOCK-ORDER-901",
|
||||
"scenic_id": 128,
|
||||
"status": 20,
|
||||
"status_label": "执行中(模拟)",
|
||||
"wayline_status": 20,
|
||||
"wayline_status_label": "执行中(模拟)"
|
||||
},
|
||||
"order_flight_task_id": 901,
|
||||
"plane_id": 201,
|
||||
"task_uuid": "LOCAL-MOCK-TASK-UUID-901",
|
||||
"ui": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "flighttask_pause",
|
||||
"label": "紧急暂停",
|
||||
"sub": "悬停待命"
|
||||
},
|
||||
{
|
||||
"command": "return_home",
|
||||
"label": "立即返航",
|
||||
"sub": "中断任务"
|
||||
}
|
||||
],
|
||||
"message": "本地模拟开拍回执,不代表真实设备执行。",
|
||||
"phase": "shooting",
|
||||
"primary_action": "shooting",
|
||||
"title": "无人机正在拍摄中(模拟)"
|
||||
}
|
||||
},
|
||||
"msg": "local mock success"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user