feat(drone-dock): 接入已购套餐快照并固定首页无人机占位

准备页改用 project-info 购买快照,校验订单与项目身份,并按可用性选择已购点位和航线。首页在加载、空数据及失败时保留等高无人机卡片。同步相关测试与接口联调记录、响应和截图。

验证:iPhone 18 Pro 模拟器上 81 项相关测试通过。
This commit is contained in:
2026-10-28 16:50:35 +08:00
parent d01d18d5b3
commit 2793f6b113
58 changed files with 3890 additions and 717 deletions
@@ -0,0 +1,110 @@
{
"date": "2026-10-27",
"device": "iPhone 11",
"environment": "testing",
"current_scenic_id": 271,
"current_store_id": 38,
"current_scenic_name": "北大科技园",
"requests": {
"projects": {
"response": "projects-scenic271-response.json",
"code": 100000,
"time": "2026-10-27 15:37:44",
"http_status": 200
},
"pay-code": {
"response": "pay-code-scenic271-response.json",
"code": 100000,
"time": "2026-10-27 15:37:45",
"http_status": 200
},
"receipts": {
"response": "receipts-scenic271-response.json",
"code": 100000,
"time": "2026-10-27 15:34:27",
"http_status": 200
}
},
"earlier_scenic128": {
"projects": [],
"receipts_total": 0
},
"tests": {
"related": {
"passed": 47,
"failed": 0,
"xcresult": "/private/tmp/suixinkan-dock-payment-tests.xcresult"
},
"final_ui": {
"passed": 8,
"failed": 0,
"xcresult": "/private/tmp/suixinkan-dock-payment-ui-final.xcresult"
}
},
"screenshots": [
"payment-code-real.png",
"receipts-empty-real.png"
],
"pending": [
"非空真实收款记录的联调",
"游客实际支付和到账关联(当前为可重复购买链接,无单笔会话契约)",
"收款方名称的数据来源",
"类型25到账语音事件"
],
"note": "真实接口响应与截图仅本地保留。请求付款链接不创建订单或拍摄任务,未执行付款。",
"qr_decode_verification": {
"tool": "Apple Vision VNDetectBarcodesRequest",
"detected_qr_count": 1,
"matches_server_pay_url": true,
"screenshot": "payment-code-real.png"
},
"all_responses": "three-interface-responses.json",
"simulator_verification": {
"date": "2026-10-27",
"device": "iPhone 18 Pro",
"runtime": "iOS 27.0",
"scheme": "suixinkan-Simulator",
"configuration": "SimulatorDebug",
"tests": {
"passed": 47,
"failed": 0,
"skipped": 0,
"xcresult": "/Users/hanqiu/Library/Developer/XcodeBuildMCP/workspaces/suixinkan-a3033d697ba3/result-bundles/test_sim_2026-10-27T07-47-38-057Z_pid11893_efcc5bc6.xcresult"
},
"live_api": {
"scenic_id": 271,
"project_id": 386,
"projects_code": 100000,
"pay_code_code": 100000,
"receipts_code": 100000,
"price": "99.00",
"shoot_count": 5,
"receipts_total": 0
},
"screenshots": [
"payment-simulator.jpg",
"receipts-simulator.jpg"
],
"note": "按用户最新要求改用模拟器。真实接口和套餐选择、确认、收款记录跳转已验证,未执行付款。"
},
"mini_program_code_adaptation": {
"date": "2026-10-27",
"device": "iPhone 18 Pro Simulator",
"runtime": "iOS 27.0",
"tests": {
"related_passed": 54,
"failed": 0,
"final_ui_passed": 15,
"related_xcresult": "/Users/hanqiu/Library/Developer/XcodeBuildMCP/workspaces/suixinkan-a3033d697ba3/result-bundles/test_sim_2026-10-27T09-18-36-229Z_pid11893_88f50b3f.xcresult",
"final_ui_xcresult": "/Users/hanqiu/Library/Developer/XcodeBuildMCP/workspaces/suixinkan-a3033d697ba3/result-bundles/test_sim_2026-10-27T09-20-42-957Z_pid11893_a4ad6f52.xcresult"
},
"real_response_file": "pay-code-mini-program-responses.json",
"screenshot": "payment-mini-program-simulator.png",
"scenic_id": 271,
"project_id": 386,
"price": "99.00",
"shoot_count": 5,
"regeneration_verified": true,
"note": "展示后端小程序码原图;原普通二维码记录仅为旧契约历史。未执行游客扫码、付款或向系统相册写图。"
}
}