Implement task list, detail, and create pages with API integration, cloud/local attachment support, and unit tests. Co-authored-by: Cursor <cursoragent@cursor.com>
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"code": 100000,
|
|
"msg": "success",
|
|
"data": {
|
|
"total": "2",
|
|
"list": [
|
|
{
|
|
"id": "101",
|
|
"name": "游客精修任务",
|
|
"type": "1",
|
|
"order_number": "ORD-TASK-001",
|
|
"task_status": "2",
|
|
"status_name": "处理中",
|
|
"created_at": "2026-06-21 10:00:00",
|
|
"updated_at": "2026-06-21 10:30:00",
|
|
"photog_remark": "请优先处理亲子照片",
|
|
"editor_name": "小李",
|
|
"operate_time": "2026-06-21 10:31:00",
|
|
"order_user_nickname": "王女士",
|
|
"order_user_phone": "13800000000",
|
|
"order_user_id": "7001",
|
|
"media": [
|
|
{
|
|
"id": "9001",
|
|
"photog_task_id": "101",
|
|
"user_id": "7001",
|
|
"file_name": "cover.jpg",
|
|
"file_type": "2",
|
|
"file_url": "https://cdn.example.com/task/cover.jpg",
|
|
"file_size": "2048",
|
|
"cover_url": "",
|
|
"duration": "0",
|
|
"remark": "",
|
|
"created_at": "2026-06-21 10:01:00",
|
|
"updated_at": "2026-06-21 10:01:00"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 102,
|
|
"name": "短视频剪辑",
|
|
"type": 1,
|
|
"order_number": "ORD-TASK-002",
|
|
"task_status": 1,
|
|
"status_name": "待接收",
|
|
"created_at": "2026-06-22 09:00:00",
|
|
"updated_at": "2026-06-22 09:00:00",
|
|
"photog_remark": "",
|
|
"editor_name": "",
|
|
"operate_time": "",
|
|
"order_user_nickname": "",
|
|
"order_user_phone": "",
|
|
"order_user_id": "",
|
|
"media": []
|
|
}
|
|
]
|
|
}
|
|
}
|