{ "source": "local_mock", "description": "模拟器实际点击,纯内存处理,未调用后端或设备", "network_sent": false, "task_id": 901, "records": [ { "method": "GET", "path": "/api/app/airport/shooting", "query": "id=901&live_battery=1", "http_status": 200, "response_body": { "code": 100000, "data": { "air_line": { "id": 401, "name": "模拟航线", "scenic_spot_id": 301 }, "current_plane": { "id": 201, "online_status": 1, "sn_number": "LOCAL-MOCK-PLANE-201", "status_text": "本地模拟 · 拍摄中 · 电量95%", "work_status": 2, "work_status_label": "拍摄中" }, "execute_gate": { "can_execute": false, "code": "already_started", "message": "本地模拟:开拍已受理", "primary_action": "shooting", "primary_action_label": "拍摄中" }, "header": { "order_number": "LOCAL-MOCK-ORDER-901", "package_name": "模拟套餐 · 含5次拍摄", "title": "模拟点位 · 模拟航线", "tourist_label": "本地模拟,无设备指令" }, "metrics": [ { "key": "battery", "value": "95%" }, { "key": "env_temp", "value": "20.3℃" }, { "key": "wind_speed", "value": "0m/s" }, { "key": "rainfall", "value": "无雨" }, { "key": "signal", "value": "良好" }, { "key": "satellite", "value": "36颗" } ], "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_number": "LOCAL-MOCK-ORDER-901", "plane_status": { "connected": true, "poll_hint_ms": 5000, "scenic_id": 128 }, "scenic": { "id": 128, "name": "本地模拟景区" }, "scenic_spot": { "id": 301, "name": "模拟点位" }, "task": { "id": 901, "order_number": "LOCAL-MOCK-ORDER-901", "scenic_id": 128, "status": 20, "status_label": "执行中(模拟)", "wayline_status": 20, "wayline_status_label": "执行中(模拟)" }, "ui": { "commands": [ { "command": "flighttask_pause", "label": "紧急暂停", "sub": "悬停待命" }, { "command": "return_home", "label": "立即返航", "sub": "中断任务" } ], "message": "本地模拟状态回查,未向设备发送指令。", "phase": "shooting", "title": "无人机正在拍摄中(模拟)" } }, "msg": "local mock success" } }, { "method": "POST", "path": "/api/app/airport/command", "request_body": { "id": 901, "command": "flighttask_pause" }, "http_status": 200, "response_body": { "code": 100000, "data": { "airport_sn": "LOCAL-MOCK-DOCK-201", "command": "flighttask_pause", "dji_status": "paused", "metrics": [ { "key": "battery", "value": "95%" }, { "key": "env_temp", "value": "20.3℃" }, { "key": "wind_speed", "value": "0m/s" }, { "key": "rainfall", "value": "无雨" }, { "key": "signal", "value": "良好" }, { "key": "satellite", "value": "36颗" } ], "order_flight_task_id": 901 }, "msg": "local mock success" } }, { "method": "GET", "path": "/api/app/airport/shooting", "query": "id=901&live_battery=1", "http_status": 200, "response_body": { "code": 100000, "data": { "air_line": { "id": 401, "name": "模拟航线", "scenic_spot_id": 301 }, "current_plane": { "id": 201, "online_status": 1, "sn_number": "LOCAL-MOCK-PLANE-201", "status_text": "本地模拟 · 悬停中 · 电量95%", "work_status": 2, "work_status_label": "悬停中" }, "execute_gate": { "can_execute": false, "code": "already_started", "message": "本地模拟:开拍已受理", "primary_action": "paused", "primary_action_label": "拍摄中" }, "header": { "order_number": "LOCAL-MOCK-ORDER-901", "package_name": "模拟套餐 · 含5次拍摄", "title": "模拟点位 · 模拟航线", "tourist_label": "本地模拟,无设备指令" }, "metrics": [ { "key": "battery", "value": "95%" }, { "key": "env_temp", "value": "20.3℃" }, { "key": "wind_speed", "value": "0m/s" }, { "key": "rainfall", "value": "无雨" }, { "key": "signal", "value": "良好" }, { "key": "satellite", "value": "36颗" } ], "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_number": "LOCAL-MOCK-ORDER-901", "plane_status": { "connected": true, "poll_hint_ms": 5000, "scenic_id": 128 }, "scenic": { "id": 128, "name": "本地模拟景区" }, "scenic_spot": { "id": 301, "name": "模拟点位" }, "task": { "id": 901, "order_number": "LOCAL-MOCK-ORDER-901", "scenic_id": 128, "status": 20, "status_label": "执行中(模拟)", "wayline_status": 20, "wayline_status_label": "执行中(模拟)" }, "ui": { "commands": [ { "command": "flighttask_recovery", "label": "继续拍摄", "sub": "恢复航线" }, { "command": "return_home", "label": "立即返航", "sub": "中断任务" } ], "message": "本地模拟状态回查,未向设备发送指令。", "phase": "paused", "title": "拍摄已暂停(模拟)" } }, "msg": "local mock success" } }, { "method": "POST", "path": "/api/app/airport/command", "request_body": { "id": 901, "command": "flighttask_recovery" }, "http_status": 200, "response_body": { "code": 100000, "data": { "airport_sn": "LOCAL-MOCK-DOCK-201", "command": "flighttask_recovery", "dji_status": "shooting", "metrics": [ { "key": "battery", "value": "95%" }, { "key": "env_temp", "value": "20.3℃" }, { "key": "wind_speed", "value": "0m/s" }, { "key": "rainfall", "value": "无雨" }, { "key": "signal", "value": "良好" }, { "key": "satellite", "value": "36颗" } ], "order_flight_task_id": 901 }, "msg": "local mock success" } }, { "method": "GET", "path": "/api/app/airport/shooting", "query": "id=901&live_battery=1", "http_status": 200, "response_body": { "code": 100000, "data": { "air_line": { "id": 401, "name": "模拟航线", "scenic_spot_id": 301 }, "current_plane": { "id": 201, "online_status": 1, "sn_number": "LOCAL-MOCK-PLANE-201", "status_text": "本地模拟 · 拍摄中 · 电量95%", "work_status": 2, "work_status_label": "拍摄中" }, "execute_gate": { "can_execute": false, "code": "already_started", "message": "本地模拟:开拍已受理", "primary_action": "shooting", "primary_action_label": "拍摄中" }, "header": { "order_number": "LOCAL-MOCK-ORDER-901", "package_name": "模拟套餐 · 含5次拍摄", "title": "模拟点位 · 模拟航线", "tourist_label": "本地模拟,无设备指令" }, "metrics": [ { "key": "battery", "value": "95%" }, { "key": "env_temp", "value": "20.3℃" }, { "key": "wind_speed", "value": "0m/s" }, { "key": "rainfall", "value": "无雨" }, { "key": "signal", "value": "良好" }, { "key": "satellite", "value": "36颗" } ], "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_number": "LOCAL-MOCK-ORDER-901", "plane_status": { "connected": true, "poll_hint_ms": 5000, "scenic_id": 128 }, "scenic": { "id": 128, "name": "本地模拟景区" }, "scenic_spot": { "id": 301, "name": "模拟点位" }, "task": { "id": 901, "order_number": "LOCAL-MOCK-ORDER-901", "scenic_id": 128, "status": 20, "status_label": "执行中(模拟)", "wayline_status": 20, "wayline_status_label": "执行中(模拟)" }, "ui": { "commands": [ { "command": "flighttask_pause", "label": "紧急暂停", "sub": "悬停待命" }, { "command": "return_home", "label": "立即返航", "sub": "中断任务" } ], "message": "本地模拟状态回查,未向设备发送指令。", "phase": "shooting", "title": "无人机正在拍摄中(模拟)" } }, "msg": "local mock success" } }, { "method": "POST", "path": "/api/app/airport/command", "request_body": { "id": 901, "command": "return_home" }, "http_status": 200, "response_body": { "code": 100000, "data": { "airport_sn": "LOCAL-MOCK-DOCK-201", "command": "return_home", "dji_status": "returning", "metrics": [ { "key": "battery", "value": "95%" }, { "key": "env_temp", "value": "20.3℃" }, { "key": "wind_speed", "value": "0m/s" }, { "key": "rainfall", "value": "无雨" }, { "key": "signal", "value": "良好" }, { "key": "satellite", "value": "36颗" } ], "order_flight_task_id": 901 }, "msg": "local mock success" } }, { "method": "GET", "path": "/api/app/airport/shooting", "query": "id=901&live_battery=1", "http_status": 200, "response_body": { "code": 100000, "data": { "air_line": { "id": 401, "name": "模拟航线", "scenic_spot_id": 301 }, "current_plane": { "id": 201, "online_status": 1, "sn_number": "LOCAL-MOCK-PLANE-201", "status_text": "本地模拟 · 返航中 · 电量95%", "work_status": 2, "work_status_label": "返航中" }, "execute_gate": { "can_execute": false, "code": "return_home", "message": "本地模拟:开拍已受理", "primary_action": "returning", "primary_action_label": "拍摄中" }, "header": { "order_number": "LOCAL-MOCK-ORDER-901", "package_name": "模拟套餐 · 含5次拍摄", "title": "模拟点位 · 模拟航线", "tourist_label": "本地模拟,无设备指令" }, "metrics": [ { "key": "battery", "value": "95%" }, { "key": "env_temp", "value": "20.3℃" }, { "key": "wind_speed", "value": "0m/s" }, { "key": "rainfall", "value": "无雨" }, { "key": "signal", "value": "良好" }, { "key": "satellite", "value": "36颗" } ], "order_flight_task": { "id": 901, "order_number": "LOCAL-MOCK-ORDER-901", "result_code": "return_home", "result_message": "本地模拟:立即返航中断任务;无人机返航中。", "scenic_id": 128, "status": 40, "status_label": "任务已中断(模拟)", "wayline_status": 40, "wayline_status_label": "已中断(模拟)" }, "order_number": "LOCAL-MOCK-ORDER-901", "plane_status": { "connected": true, "poll_hint_ms": 5000, "scenic_id": 128 }, "scenic": { "id": 128, "name": "本地模拟景区" }, "scenic_spot": { "id": 301, "name": "模拟点位" }, "task": { "id": 901, "order_number": "LOCAL-MOCK-ORDER-901", "result_code": "return_home", "result_message": "本地模拟:立即返航中断任务;无人机返航中。", "scenic_id": 128, "status": 40, "status_label": "任务已中断(模拟)", "wayline_status": 40, "wayline_status_label": "已中断(模拟)" }, "ui": { "commands": [ { "command": "return_home_cancel", "label": "取消返航", "sub": "不恢复已中断任务" } ], "message": "本地模拟:立即返航中断任务;无人机返航中", "phase": "returning", "title": "本地模拟:立即返航中断任务;无人机返航中" } }, "msg": "local mock success" } }, { "method": "POST", "path": "/api/app/airport/command", "request_body": { "command": "return_home_cancel", "id": 901 }, "http_status": 200, "response_body": { "code": 100000, "data": { "airport_sn": "LOCAL-MOCK-DOCK-201", "command": "return_home_cancel", "dji_status": "failed", "metrics": [ { "key": "battery", "value": "95%" }, { "key": "env_temp", "value": "20.3℃" }, { "key": "wind_speed", "value": "0m/s" }, { "key": "rainfall", "value": "无雨" }, { "key": "signal", "value": "良好" }, { "key": "satellite", "value": "36颗" } ], "order_flight_task_id": 901 }, "msg": "local mock success" } }, { "method": "GET", "path": "/api/app/airport/shooting", "query": "id=901&live_battery=1", "http_status": 200, "response_body": { "code": 100000, "data": { "air_line": { "id": 401, "name": "模拟航线", "scenic_spot_id": 301 }, "current_plane": { "id": 201, "online_status": 1, "sn_number": "LOCAL-MOCK-PLANE-201", "status_text": "本地模拟 · 悬停中 · 电量95%", "work_status": 2, "work_status_label": "悬停中" }, "execute_gate": { "can_execute": false, "code": "return_home", "message": "本地模拟:开拍已受理", "primary_action": "failed", "primary_action_label": "拍摄中" }, "header": { "order_number": "LOCAL-MOCK-ORDER-901", "package_name": "模拟套餐 · 含5次拍摄", "title": "模拟点位 · 模拟航线", "tourist_label": "本地模拟,无设备指令" }, "metrics": [ { "key": "battery", "value": "95%" }, { "key": "env_temp", "value": "20.3℃" }, { "key": "wind_speed", "value": "0m/s" }, { "key": "rainfall", "value": "无雨" }, { "key": "signal", "value": "良好" }, { "key": "satellite", "value": "36颗" } ], "order_flight_task": { "id": 901, "order_number": "LOCAL-MOCK-ORDER-901", "result_code": "return_home", "result_message": "本地模拟:返航已取消,任务仍已中断,不能继续拍摄。", "scenic_id": 128, "status": 40, "status_label": "任务已中断(模拟)", "wayline_status": 40, "wayline_status_label": "已中断(模拟)" }, "order_number": "LOCAL-MOCK-ORDER-901", "plane_status": { "connected": true, "poll_hint_ms": 5000, "scenic_id": 128 }, "scenic": { "id": 128, "name": "本地模拟景区" }, "scenic_spot": { "id": 301, "name": "模拟点位" }, "task": { "id": 901, "order_number": "LOCAL-MOCK-ORDER-901", "result_code": "return_home", "result_message": "本地模拟:返航已取消,任务仍已中断,不能继续拍摄。", "scenic_id": 128, "status": 40, "status_label": "任务已中断(模拟)", "wayline_status": 40, "wayline_status_label": "已中断(模拟)" }, "ui": { "commands": [], "message": "本地模拟:返航已取消,任务仍已中断", "phase": "failed", "title": "本地模拟:返航已取消,任务仍已中断" } }, "msg": "local mock success" } } ] }