feat(drone-dock): 接入已购套餐快照并固定首页无人机占位
准备页改用 project-info 购买快照,校验订单与项目身份,并按可用性选择已购点位和航线。首页在加载、空数据及失败时保留等高无人机卡片。同步相关测试与接口联调记录、响应和截图。 验证:iPhone 18 Pro 模拟器上 81 项相关测试通过。
@@ -0,0 +1,30 @@
|
||||
[
|
||||
{
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"pay_url": "https://vipsky.oss-cn-shanghai.aliyuncs.com/mini_qr/f7490a9cf52193cecc5e9f203b427e27.png",
|
||||
"price": "99.00",
|
||||
"project_id": 386,
|
||||
"project_name": "多点位航拍",
|
||||
"shoot_count": 5,
|
||||
"store_id": 38,
|
||||
"store_user_id": 772
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 17:22:00"
|
||||
},
|
||||
{
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"pay_url": "https://vipsky.oss-cn-shanghai.aliyuncs.com/mini_qr/db12ec21153b5c4f6801fd8eab2402c1.png",
|
||||
"price": "99.00",
|
||||
"project_id": 386,
|
||||
"project_name": "多点位航拍",
|
||||
"shoot_count": 5,
|
||||
"store_id": 38,
|
||||
"store_user_id": 772
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 17:22:32"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,15 @@
|
||||
[API][Response] POST https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/pay-code status=200
|
||||
{
|
||||
"code" : 100000,
|
||||
"data" : {
|
||||
"pay_url" : "https:\/\/api-test.zhifly.cn\/wma\/multi-plane\/pay?project_id=386&price=99.00&store_user_id=772&store_id=38",
|
||||
"price" : "99.00",
|
||||
"project_id" : 386,
|
||||
"project_name" : "多点位航拍",
|
||||
"shoot_count" : 5,
|
||||
"store_id" : 38,
|
||||
"store_user_id" : 772
|
||||
},
|
||||
"msg" : "success",
|
||||
"time" : "2026-10-27 15:37:45"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"pay_url": "https://api-test.zhifly.cn/wma/multi-plane/pay?project_id=386&price=99.00&store_user_id=772&store_id=38",
|
||||
"price": "99.00",
|
||||
"project_id": 386,
|
||||
"project_name": "多点位航拍",
|
||||
"shoot_count": 5,
|
||||
"store_id": 38,
|
||||
"store_user_id": 772
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 15:37:45"
|
||||
}
|
||||
|
After Width: | Height: | Size: 578 KiB |
|
After Width: | Height: | Size: 471 KiB |
|
After Width: | Height: | Size: 487 KiB |
|
After Width: | Height: | Size: 630 KiB |
|
After Width: | Height: | Size: 48 KiB |
@@ -0,0 +1,9 @@
|
||||
[API][Response] GET https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/projects?scenic_id=128 status=200
|
||||
{
|
||||
"code" : 100000,
|
||||
"data" : [
|
||||
|
||||
],
|
||||
"msg" : "success",
|
||||
"time" : "2026-10-27 15:29:31"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"data": [],
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 15:29:31"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
[API][Response] GET https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/projects?scenic_id=271 status=200
|
||||
{
|
||||
"code" : 100000,
|
||||
"data" : [
|
||||
{
|
||||
"id" : 386,
|
||||
"name" : "多点位航拍",
|
||||
"price" : "99.00",
|
||||
"shoot_count" : 5
|
||||
}
|
||||
],
|
||||
"msg" : "success",
|
||||
"time" : "2026-10-27 15:37:44"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"data": [
|
||||
{
|
||||
"id": 386,
|
||||
"name": "多点位航拍",
|
||||
"price": "99.00",
|
||||
"shoot_count": 5
|
||||
}
|
||||
],
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 15:37:44"
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
[API][Response] GET https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?scenic_id=128&page=1 status=200
|
||||
{
|
||||
"code" : 100000,
|
||||
"data" : {
|
||||
"records" : {
|
||||
"current_page" : 1,
|
||||
"data" : [
|
||||
|
||||
],
|
||||
"first_page_url" : "https:\/\/api-test.zhifly.cn\/api\/yf-handset-app\/photog\/multi-plane\/receipts?page=1",
|
||||
"from" : null,
|
||||
"last_page" : 1,
|
||||
"last_page_url" : "https:\/\/api-test.zhifly.cn\/api\/yf-handset-app\/photog\/multi-plane\/receipts?page=1",
|
||||
"links" : [
|
||||
{
|
||||
"active" : false,
|
||||
"label" : "« Previous",
|
||||
"page" : null,
|
||||
"url" : null
|
||||
},
|
||||
{
|
||||
"active" : true,
|
||||
"label" : "1",
|
||||
"page" : 1,
|
||||
"url" : "https:\/\/api-test.zhifly.cn\/api\/yf-handset-app\/photog\/multi-plane\/receipts?page=1"
|
||||
},
|
||||
{
|
||||
"active" : false,
|
||||
"label" : "Next »",
|
||||
"page" : null,
|
||||
"url" : null
|
||||
}
|
||||
],
|
||||
"next_page_url" : null,
|
||||
"path" : "https:\/\/api-test.zhifly.cn\/api\/yf-handset-app\/photog\/multi-plane\/receipts",
|
||||
"per_page" : 20,
|
||||
"prev_page_url" : null,
|
||||
"to" : null,
|
||||
"total" : 0
|
||||
},
|
||||
"summary" : {
|
||||
"cash_net" : "0.00",
|
||||
"cash_paid" : "0.00",
|
||||
"cash_refund" : "0.00",
|
||||
"count" : 0,
|
||||
"point_amount" : "0.00",
|
||||
"points_net" : 0,
|
||||
"points_paid" : 0,
|
||||
"points_refund" : 0
|
||||
}
|
||||
},
|
||||
"msg" : "success",
|
||||
"time" : "2026-10-27 15:30:15"
|
||||
}
|
||||
|
After Width: | Height: | Size: 297 KiB |
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"records": {
|
||||
"current_page": 1,
|
||||
"data": [],
|
||||
"first_page_url": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?page=1",
|
||||
"from": null,
|
||||
"last_page": 1,
|
||||
"last_page_url": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?page=1",
|
||||
"links": [
|
||||
{
|
||||
"active": false,
|
||||
"label": "« Previous",
|
||||
"page": null,
|
||||
"url": null
|
||||
},
|
||||
{
|
||||
"active": true,
|
||||
"label": "1",
|
||||
"page": 1,
|
||||
"url": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?page=1"
|
||||
},
|
||||
{
|
||||
"active": false,
|
||||
"label": "Next »",
|
||||
"page": null,
|
||||
"url": null
|
||||
}
|
||||
],
|
||||
"next_page_url": null,
|
||||
"path": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts",
|
||||
"per_page": 20,
|
||||
"prev_page_url": null,
|
||||
"to": null,
|
||||
"total": 0
|
||||
},
|
||||
"summary": {
|
||||
"cash_net": "0.00",
|
||||
"cash_paid": "0.00",
|
||||
"cash_refund": "0.00",
|
||||
"count": 0,
|
||||
"point_amount": "0.00",
|
||||
"points_net": 0,
|
||||
"points_paid": 0,
|
||||
"points_refund": 0
|
||||
}
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 15:30:15"
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
[API][Response] GET https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?scenic_id=271&page=1 status=200
|
||||
{
|
||||
"code" : 100000,
|
||||
"data" : {
|
||||
"records" : {
|
||||
"current_page" : 1,
|
||||
"data" : [
|
||||
|
||||
],
|
||||
"first_page_url" : "https:\/\/api-test.zhifly.cn\/api\/yf-handset-app\/photog\/multi-plane\/receipts?page=1",
|
||||
"from" : null,
|
||||
"last_page" : 1,
|
||||
"last_page_url" : "https:\/\/api-test.zhifly.cn\/api\/yf-handset-app\/photog\/multi-plane\/receipts?page=1",
|
||||
"links" : [
|
||||
{
|
||||
"active" : false,
|
||||
"label" : "« Previous",
|
||||
"page" : null,
|
||||
"url" : null
|
||||
},
|
||||
{
|
||||
"active" : true,
|
||||
"label" : "1",
|
||||
"page" : 1,
|
||||
"url" : "https:\/\/api-test.zhifly.cn\/api\/yf-handset-app\/photog\/multi-plane\/receipts?page=1"
|
||||
},
|
||||
{
|
||||
"active" : false,
|
||||
"label" : "Next »",
|
||||
"page" : null,
|
||||
"url" : null
|
||||
}
|
||||
],
|
||||
"next_page_url" : null,
|
||||
"path" : "https:\/\/api-test.zhifly.cn\/api\/yf-handset-app\/photog\/multi-plane\/receipts",
|
||||
"per_page" : 20,
|
||||
"prev_page_url" : null,
|
||||
"to" : null,
|
||||
"total" : 0
|
||||
},
|
||||
"summary" : {
|
||||
"cash_net" : "0.00",
|
||||
"cash_paid" : "0.00",
|
||||
"cash_refund" : "0.00",
|
||||
"count" : 0,
|
||||
"point_amount" : "0.00",
|
||||
"points_net" : 0,
|
||||
"points_paid" : 0,
|
||||
"points_refund" : 0
|
||||
}
|
||||
},
|
||||
"msg" : "success",
|
||||
"time" : "2026-10-27 15:34:27"
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"records": {
|
||||
"current_page": 1,
|
||||
"data": [],
|
||||
"first_page_url": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?page=1",
|
||||
"from": null,
|
||||
"last_page": 1,
|
||||
"last_page_url": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?page=1",
|
||||
"links": [
|
||||
{
|
||||
"active": false,
|
||||
"label": "« Previous",
|
||||
"page": null,
|
||||
"url": null
|
||||
},
|
||||
{
|
||||
"active": true,
|
||||
"label": "1",
|
||||
"page": 1,
|
||||
"url": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?page=1"
|
||||
},
|
||||
{
|
||||
"active": false,
|
||||
"label": "Next »",
|
||||
"page": null,
|
||||
"url": null
|
||||
}
|
||||
],
|
||||
"next_page_url": null,
|
||||
"path": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts",
|
||||
"per_page": 20,
|
||||
"prev_page_url": null,
|
||||
"to": null,
|
||||
"total": 0
|
||||
},
|
||||
"summary": {
|
||||
"cash_net": "0.00",
|
||||
"cash_paid": "0.00",
|
||||
"cash_refund": "0.00",
|
||||
"count": 0,
|
||||
"point_amount": "0.00",
|
||||
"points_net": 0,
|
||||
"points_paid": 0,
|
||||
"points_refund": 0
|
||||
}
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 15:34:27"
|
||||
}
|
||||
|
After Width: | Height: | Size: 17 KiB |
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"environment": "https://api-test.zhifly.cn",
|
||||
"scenic_id": 271,
|
||||
"scenic_name": "北大科技园",
|
||||
"interfaces": [
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/api/yf-handset-app/photog/multi-plane/projects",
|
||||
"request": {
|
||||
"scenic_id": 271
|
||||
},
|
||||
"http_status": 200,
|
||||
"response": {
|
||||
"code": 100000,
|
||||
"data": [
|
||||
{
|
||||
"id": 386,
|
||||
"name": "多点位航拍",
|
||||
"price": "99.00",
|
||||
"shoot_count": 5
|
||||
}
|
||||
],
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 15:37:44"
|
||||
}
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/api/yf-handset-app/photog/multi-plane/pay-code",
|
||||
"request": {
|
||||
"scenic_id": 271,
|
||||
"project_id": 386
|
||||
},
|
||||
"http_status": 200,
|
||||
"response": {
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"pay_url": "https://api-test.zhifly.cn/wma/multi-plane/pay?project_id=386&price=99.00&store_user_id=772&store_id=38",
|
||||
"price": "99.00",
|
||||
"project_id": 386,
|
||||
"project_name": "多点位航拍",
|
||||
"shoot_count": 5,
|
||||
"store_id": 38,
|
||||
"store_user_id": 772
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 15:37:45"
|
||||
}
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/api/yf-handset-app/photog/multi-plane/receipts",
|
||||
"request": {
|
||||
"scenic_id": 271,
|
||||
"page": 1
|
||||
},
|
||||
"http_status": 200,
|
||||
"response": {
|
||||
"code": 100000,
|
||||
"data": {
|
||||
"records": {
|
||||
"current_page": 1,
|
||||
"data": [],
|
||||
"first_page_url": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?page=1",
|
||||
"from": null,
|
||||
"last_page": 1,
|
||||
"last_page_url": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?page=1",
|
||||
"links": [
|
||||
{
|
||||
"active": false,
|
||||
"label": "« Previous",
|
||||
"page": null,
|
||||
"url": null
|
||||
},
|
||||
{
|
||||
"active": true,
|
||||
"label": "1",
|
||||
"page": 1,
|
||||
"url": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts?page=1"
|
||||
},
|
||||
{
|
||||
"active": false,
|
||||
"label": "Next »",
|
||||
"page": null,
|
||||
"url": null
|
||||
}
|
||||
],
|
||||
"next_page_url": null,
|
||||
"path": "https://api-test.zhifly.cn/api/yf-handset-app/photog/multi-plane/receipts",
|
||||
"per_page": 20,
|
||||
"prev_page_url": null,
|
||||
"to": null,
|
||||
"total": 0
|
||||
},
|
||||
"summary": {
|
||||
"cash_net": "0.00",
|
||||
"cash_paid": "0.00",
|
||||
"cash_refund": "0.00",
|
||||
"count": 0,
|
||||
"point_amount": "0.00",
|
||||
"points_net": 0,
|
||||
"points_paid": 0,
|
||||
"points_refund": 0
|
||||
}
|
||||
},
|
||||
"msg": "success",
|
||||
"time": "2026-10-27 15:34:27"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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": "展示后端小程序码原图;原普通二维码记录仅为旧契约历史。未执行游客扫码、付款或向系统相册写图。"
|
||||
}
|
||||
}
|
||||