新增订单长尾流程,并迁移排队、消息、结算与审核模块

将定金订单、历史拍摄与多行程上传接入 Orders,并以真实页面替换首页排队管理、消息中心、景区结算与提现审核占位入口。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-25 13:39:02 +08:00
parent 311a70d610
commit c39c3d3c75
63 changed files with 9823 additions and 58 deletions

View File

@ -0,0 +1,27 @@
{
"code": 100000,
"msg": "success",
"data": {
"total": "2",
"list": [
{
"id": "4101",
"order_number": "DEP001",
"user_phone": "13800000000",
"amount": 99.5,
"status": "20",
"status_name": "待核销",
"created_at": "2026-05-23 09:00:00"
},
{
"id": 4102,
"order_number": "DEP002",
"user_phone": 13900000000,
"amount": "199.00",
"status": 50,
"status_name": "已退款",
"created_at": "2026-05-22 18:30:00"
}
]
}
}

View File

@ -0,0 +1,30 @@
{
"code": 100000,
"msg": "success",
"data": {
"has_more": 0,
"last_id": 99,
"items": [
{
"id": 100,
"type": 2,
"type_name": "核销",
"title": "",
"content": "订单已核销",
"push_at": "2026-05-23 02:50",
"created_at": "2026-05-23 02:50",
"is_read": "1"
},
{
"id": 99,
"type": 0,
"type_name": "",
"title": "",
"content": "系统维护通知",
"push_at": "2026-05-23 02:40",
"created_at": "2026-05-23 02:40",
"is_read": false
}
]
}
}

View File

@ -0,0 +1,30 @@
{
"code": 100000,
"msg": "success",
"data": {
"has_more": 1,
"last_id": "101",
"items": [
{
"id": "101",
"type": "1",
"type_name": "订单",
"title": "新订单提醒",
"content": "你有新的拍摄订单",
"push_at": "2026-05-23 02:55",
"created_at": "2026-05-23 02:55",
"is_read": 0
},
{
"id": 100,
"type": 2,
"type_name": "核销",
"title": "",
"content": "订单已核销",
"push_at": "2026-05-23 02:50",
"created_at": "2026-05-23 02:50",
"is_read": "1"
}
]
}
}

View File

@ -0,0 +1,36 @@
{
"code": 100000,
"msg": "success",
"data": {
"project_name": "多点旅拍",
"project_type": "19",
"project_type_name": "多点旅拍",
"photog_spot_list": [
{
"scenic_spot_id": "901",
"photog_uid": "42",
"scenic_spot_name": "湖心亭",
"photog_nickname": "小景",
"photog_name": "测试摄影师",
"files": [
{
"file_name": "spot-901.jpg",
"file_url": "https://cdn.example.com/multi/spot-901.jpg",
"file_type": "1",
"file_size": "204800",
"cover_url": "",
"upload_time": "2026-05-23 04:22:00"
},
{
"file_name": "spot-901.mp4",
"file_url": "https://cdn.example.com/multi/spot-901.mp4",
"file_type": 2,
"file_size": 1048576,
"cover_url": "https://cdn.example.com/multi/spot-901-cover.jpg",
"upload_time": "2026-05-23 04:23:00"
}
]
}
]
}
}

View File

@ -0,0 +1,14 @@
{
"code": 100000,
"msg": "success",
"data": [
{
"id": 901,
"name": "湖心亭"
},
{
"id": "902",
"name": "观景台"
}
]
}

View File

@ -0,0 +1,63 @@
{
"code": 100000,
"msg": "success",
"data": {
"stats": {
"type": "1"
},
"list": {
"total": "2",
"page": "1",
"page_size": "20",
"list": [
{
"id": "1001",
"queue_code": "A001",
"mobile": "13800000000",
"status": "1",
"status_text": "等待中",
"wait_min": "8",
"ahead_count": "0",
"is_called": "1",
"queue_ban_label": "限制排队7天",
"identity_tag": "打野摄影师",
"queue_time": "2026-05-23 03:05:00",
"queue_count_today": "2",
"uid": "7001",
"mark_as_photog": "0",
"mark_as_freelance_photog": "1",
"is_miss_requeue": "1",
"is_miss_requeue_text": "重排",
"created_at": "2026-05-23 03:05",
"called_at": "2026-05-23 03:06",
"expired_at": "",
"finished_at": ""
},
{
"id": 1002,
"queue_code": "A002",
"mobile": "13900000000",
"status": 1,
"status_text": "等待中",
"wait_min": 10,
"ahead_count": 1,
"is_called": 0,
"queue_ban_label": "",
"identity_tag": "普通用户",
"queue_time": "05-23 03:07",
"queue_count_today": 1,
"uid": 7002,
"mark_as_photog": 1,
"mark_as_freelance_photog": 0,
"is_miss_requeue": 0,
"is_miss_requeue_text": "",
"created_at": "2026-05-23 03:07",
"called_at": "",
"expired_at": "",
"finished_at": ""
}
]
},
"time": "2026-05-23 03:08"
}
}

View File

@ -0,0 +1,7 @@
{
"code": 100000,
"msg": "success",
"data": {
"qrcode_url": "https://cdn.example.com/queue/spot-9.png"
}
}

View File

@ -0,0 +1,40 @@
{
"code": 100000,
"msg": "success",
"data": {
"exists": "1",
"setting": {
"id": "11",
"scenic_id": "88",
"scenic_spot_id": "9",
"scenic_spot_name": "东门打卡点",
"photo_estimate_min": "2",
"photo_estimate_sec": "30",
"first_notice_threshold_pos": "3",
"first_notice_sms_enabled": "1",
"first_notice_call_enabled": "1",
"second_notice_threshold_pos": "1",
"second_notice_sms_enabled": "0",
"second_notice_call_enabled": "1",
"countdown_broadcast_interval_sec": "15",
"countdown_readable_threshold_sec": "60",
"business_start_time": "08:00:00",
"business_end_time": "22:00:59",
"status": "1",
"remark": "自动叫号",
"voice_broadcasts": [
{
"content": "A001请到拍摄点",
"sort_order": "1"
},
{
"content": "请后续游客到等候区",
"sort_order": "2"
}
],
"created_at": "2026-05-23 03:10",
"updated_at": "2026-05-23 03:11"
},
"time": "2026-05-23 03:12"
}
}

View File

@ -0,0 +1,9 @@
{
"code": 100000,
"msg": "success",
"data": {
"queue_count": "5",
"avg_wait_min": "12.5",
"time": "2026-05-23 03:10"
}
}

View File

@ -0,0 +1,21 @@
{
"code": 100000,
"msg": "success",
"data": {
"total": "2",
"list": [
{
"id": "901",
"name": "湖心亭",
"status": "1",
"status_label": "启用"
},
{
"id": 902,
"name": "观景台",
"status": 0,
"status_label": "停用"
}
]
}
}

View File

@ -0,0 +1,44 @@
{
"code": 100000,
"msg": "success",
"data": {
"scenic_spot_id": "901",
"scenic_spot_name": "湖心亭",
"order_type": "4",
"order_type_name": "押金订单",
"order_comment": {
"star_shooting": "5",
"star_retouching": "4",
"star_scenery": "5",
"star_service": "5",
"star_camera": "4",
"content": "拍摄体验很好",
"created_at": "2026-05-23 12:00:00"
},
"material_list": [
{
"file_name": "negative-video.mp4",
"file_url": "https://cdn.example.com/deposit/negative-video.mp4",
"file_type": "1",
"file_size": "10485760",
"cover_url": "https://cdn.example.com/deposit/negative-video.jpg"
},
{
"file_name": "negative-photo.jpg",
"file_url": "https://cdn.example.com/deposit/negative-photo.jpg",
"file_type": 2,
"file_size": 204800,
"cover_url": ""
}
],
"complete_list": [
{
"file_name": "retouch.jpg",
"file_url": "https://cdn.example.com/deposit/retouch.jpg",
"file_type": "2",
"file_size": "409600",
"cover_url": "https://cdn.example.com/deposit/retouch-thumb.jpg"
}
]
}
}