{ "source": "local_mock", "network_sent": false, "description": "从模拟器手动操作日志提取;模拟准备→创建→召唤→任务查询,没有后端请求。", "records": [ { "method": "GET", "path": "/api/yf-handset-app/photog/multi-plane/project-info", "network_sent": false, "query": { "scenic_id": "128", "project_id": "101", "order_number": "LOCAL-MOCK-ORDER-901" }, "http_status": 200, "response_body": { "code": 100000, "data": { "can_confirm": false, "can_create_task": true, "can_upload_film": false, "film_count": 0, "order_number": "LOCAL-MOCK-ORDER-901", "order_status": 20, "project_id": 101, "project_name": "模拟五次套餐", "remaining_count": 5, "shoot_count": 5, "shoot_status": "processing", "shot_count": 0, "spot": [ { "air_lines": [ { "air_line_id": 401, "air_line_name": "模拟航线", "available": true, "samples": [] } ], "available": true, "scenic_spot_id": 301, "scenic_spot_name": "模拟点位" } ], "user_phone": "本地模拟游客" }, "msg": "local mock success" } }, { "method": "GET", "path": "/api/app/airport/plane-status", "network_sent": false, "query": { "scenic_id": "128", "live_battery": "1" }, "http_status": 200, "response_body": { "code": 100000, "data": { "connected": true, "planes": [ { "battery_percent": 95, "can_fly": true, "id": 201, "is_receive_order": 1, "name": "本地模拟无人机", "online_status": 1, "sn_number": "LOCAL-MOCK-PLANE-201", "status_text": "本地模拟 · 电量 95%", "work_status": 1, "work_status_label": "空闲(模拟)" } ], "poll_hint_ms": 30000, "recommend": { "battery_percent": 95, "can_fly": true, "id": 201, "is_receive_order": 1, "name": "本地模拟无人机", "online_status": 1, "sn_number": "LOCAL-MOCK-PLANE-201", "status_text": "本地模拟 · 电量 95%", "work_status": 1, "work_status_label": "空闲(模拟)" }, "scenic_id": 128 }, "msg": "local mock success" } }, { "method": "GET", "path": "/api/yf-handset-app/photog/multi-plane/project-info", "network_sent": false, "query": { "scenic_id": "128", "project_id": "101", "order_number": "LOCAL-MOCK-ORDER-901" }, "http_status": 200, "response_body": { "code": 100000, "data": { "can_confirm": false, "can_create_task": true, "can_upload_film": false, "film_count": 0, "order_number": "LOCAL-MOCK-ORDER-901", "order_status": 20, "project_id": 101, "project_name": "模拟五次套餐", "remaining_count": 5, "shoot_count": 5, "shoot_status": "processing", "shot_count": 0, "spot": [ { "air_lines": [ { "air_line_id": 401, "air_line_name": "模拟航线", "available": true, "samples": [] } ], "available": true, "scenic_spot_id": 301, "scenic_spot_name": "模拟点位" } ], "user_phone": "本地模拟游客" }, "msg": "local mock success" } }, { "method": "POST", "path": "/api/yf-handset-app/photog/multi-plane/tasks/create", "network_sent": false, "request_body": { "order_number": "LOCAL-MOCK-ORDER-901", "scenic_spot_id": 301, "scenic_id": 128, "air_line_id": 401 }, "http_status": 200, "response_body": { "code": 100000, "data": { "can_confirm": false, "can_create_task": true, "can_upload_film": false, "film_count": 0, "order_number": "LOCAL-MOCK-ORDER-901", "order_status": 20, "project_id": 101, "project_name": "模拟五次套餐", "remaining_count": 5, "shoot_count": 5, "shoot_status": "processing", "shot_count": 0, "task_id": 901, "user_phone": "本地模拟游客" }, "msg": "local mock success" } }, { "method": "POST", "path": "/api/app/airport/shoot", "network_sent": false, "request_body": { "restart": false, "id": 901 }, "http_status": 200, "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": { "message": "本地模拟召唤成功,没有网络或设备指令。", "phase": "arrived_pending_start", "title": "无人机已到达(模拟)" } }, "msg": "local mock success" } }, { "method": "GET", "path": "/api/app/airport/shooting", "network_sent": false, "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": 1, "work_status_label": "空闲" }, "execute_gate": { "can_execute": true, "code": "ok", "message": "本地模拟:允许验证开拍请求", "primary_action": "start_shoot", "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": { "message": "点击开始拍摄,仅验证本地接口流程。", "phase": "arrived_pending_start", "title": "无人机已到达(模拟)" } }, "msg": "local mock success" } } ] }