feat(drone-dock): 接入已购套餐快照并固定首页无人机占位
准备页改用 project-info 购买快照,校验订单与项目身份,并按可用性选择已购点位和航线。首页在加载、空数据及失败时保留等高无人机卡片。同步相关测试与接口联调记录、响应和截图。 验证:iPhone 18 Pro 模拟器上 81 项相关测试通过。
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
[API][Response] GET https://api-test.zhifly.cn/api/app/airport/home?scenic_id=128&store_id=37 status=200
|
||||
{
|
||||
"code" : 100000,
|
||||
"data" : {
|
||||
"airports" : [
|
||||
{
|
||||
"id" : 58,
|
||||
"is_receive_order" : 1,
|
||||
"metrics" : [
|
||||
{
|
||||
"key" : "battery",
|
||||
"label" : "电池电量",
|
||||
"raw" : null,
|
||||
"value" : "—"
|
||||
},
|
||||
{
|
||||
"key" : "env_temp",
|
||||
"label" : "环境温度",
|
||||
"raw" : null,
|
||||
"value" : "—"
|
||||
},
|
||||
{
|
||||
"key" : "wind_speed",
|
||||
"label" : "风速",
|
||||
"raw" : null,
|
||||
"value" : "—"
|
||||
},
|
||||
{
|
||||
"key" : "rainfall",
|
||||
"label" : "雨量",
|
||||
"raw" : null,
|
||||
"value" : "—"
|
||||
},
|
||||
{
|
||||
"key" : "signal",
|
||||
"label" : "信号状态",
|
||||
"raw" : null,
|
||||
"value" : "—"
|
||||
},
|
||||
{
|
||||
"key" : "satellite",
|
||||
"label" : "搜星状态",
|
||||
"raw" : null,
|
||||
"value" : "—"
|
||||
}
|
||||
],
|
||||
"name" : "江布拉克M4D",
|
||||
"online_status" : 1,
|
||||
"scenic_area_id" : 128,
|
||||
"sn_number" : "8UUXN4300A04NY",
|
||||
"task_type" : null,
|
||||
"work_status" : 1,
|
||||
"work_status_label" : "空闲"
|
||||
}
|
||||
],
|
||||
"orders" : [
|
||||
|
||||
],
|
||||
"scenic_id" : 128,
|
||||
"today" : {
|
||||
"finished_shoot" : 0,
|
||||
"order_amount" : 0,
|
||||
"order_count" : 0
|
||||
}
|
||||
},
|
||||
"msg" : "success",
|
||||
"time" : "2026-10-27 14:50:18"
|
||||
}
|
||||
Reference in New Issue
Block a user