统一 HTTP 和 WebSocket 控制台 JSON 输出,保留完整入参、响应及本地错误。为多点位航拍订单增加已支付退款入口和回归测试,并同步联调文档、接口记录及截图。
77 lines
2.1 KiB
JSON
77 lines
2.1 KiB
JSON
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://api-test.zhifly.cn/api/app/airport/shoot",
|
|
"body": {
|
|
"id": 11,
|
|
"restart": false
|
|
}
|
|
},
|
|
"response": {
|
|
"http_status": 200,
|
|
"body": {
|
|
"code": 100000,
|
|
"data": {
|
|
"air_line_id": 302,
|
|
"air_line_name": "天门寻梦",
|
|
"airport_sn": "TEST-PLANE-61",
|
|
"order_flight_task": {
|
|
"air_line_id": 302,
|
|
"airport_sn": "TEST-PLANE-61",
|
|
"deducted": 0,
|
|
"finished_at": null,
|
|
"id": 11,
|
|
"medias": [],
|
|
"order_id": 0,
|
|
"order_number": "261027271004",
|
|
"plane_id": 61,
|
|
"result_code": "",
|
|
"result_message": "",
|
|
"scenic_id": 271,
|
|
"scenic_spot_id": 412,
|
|
"seq": 11,
|
|
"spot_attempt": 11,
|
|
"started_at": "2026-10-29 17:19:00",
|
|
"status": 20,
|
|
"status_label": "执行中",
|
|
"store_id": 38,
|
|
"store_user_id": 772,
|
|
"task_uuid": "917d0fdf-d55b-4263-889a-aae81d99cd7c",
|
|
"wayline_task_id": 1931
|
|
},
|
|
"order_progress": {
|
|
"order_number": "261027271004",
|
|
"package_name": "单次航拍 · 含 1 次拍摄",
|
|
"shot_remain": 1,
|
|
"shot_total": 1,
|
|
"shot_used": 0,
|
|
"status_label": "待拍摄"
|
|
},
|
|
"plane_id": 61,
|
|
"task_id": 1931,
|
|
"task_uuid": "917d0fdf-d55b-4263-889a-aae81d99cd7c",
|
|
"ui": {
|
|
"commands": [
|
|
{
|
|
"command": "flighttask_pause",
|
|
"label": "紧急暂停",
|
|
"sub": "悬停待命"
|
|
},
|
|
{
|
|
"command": "return_home",
|
|
"label": "立即返航",
|
|
"sub": "中断任务"
|
|
}
|
|
],
|
|
"message": "是否开始拍摄?确认游客站位与取景后开始",
|
|
"phase": "arrived_pending_start",
|
|
"primary_action": "start_shoot",
|
|
"title": "无人机已到达"
|
|
}
|
|
},
|
|
"msg": "success",
|
|
"time": "2026-10-29 17:19:01"
|
|
}
|
|
}
|
|
}
|