Initial commit: suixinkan_ios UIKit rewrite project.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"id": "6101",
|
||||
"album_id": "5101",
|
||||
"name": "五一直播相册",
|
||||
"creator": "摄影师小苏",
|
||||
"items": [
|
||||
{
|
||||
"id": "7101",
|
||||
"url": "https://cdn.example.com/alive/photo.jpg",
|
||||
"type": "1",
|
||||
"size": "204800",
|
||||
"cover_img": ""
|
||||
},
|
||||
{
|
||||
"id": 7102,
|
||||
"url": "https://cdn.example.com/alive/video.mp4",
|
||||
"type": 2,
|
||||
"size": 10485760,
|
||||
"cover_img": "https://cdn.example.com/alive/video-cover.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
34
suixinkan_iosTests/Fixtures/alive_album_list_success.json
Normal file
34
suixinkan_iosTests/Fixtures/alive_album_list_success.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"items": [
|
||||
{
|
||||
"id": "6101",
|
||||
"album_id": "5101",
|
||||
"name": "五一直播相册",
|
||||
"creator": "摄影师小苏",
|
||||
"items": [
|
||||
{
|
||||
"id": "7101",
|
||||
"url": "https://cdn.example.com/alive/photo.jpg",
|
||||
"type": "1",
|
||||
"size": "204800",
|
||||
"cover_img": ""
|
||||
},
|
||||
{
|
||||
"id": 7102,
|
||||
"url": "https://cdn.example.com/alive/video.mp4",
|
||||
"type": 2,
|
||||
"size": 10485760,
|
||||
"cover_img": "https://cdn.example.com/alive/video-cover.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"page": "1",
|
||||
"page_size": "1",
|
||||
"total": "2",
|
||||
"total_pages": "2"
|
||||
}
|
||||
}
|
||||
18
suixinkan_iosTests/Fixtures/alive_detail_success.json
Normal file
18
suixinkan_iosTests/Fixtures/alive_detail_success.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"id": "8101",
|
||||
"title": "景区晨间直播",
|
||||
"cover_img": "https://cdn.example.com/alive/cover.jpg",
|
||||
"push_url": "rtmp://push.example.com/live/8101",
|
||||
"start_time": "1779505200",
|
||||
"end_time": "1779508800",
|
||||
"duration": "3600",
|
||||
"status": "2",
|
||||
"status_label": "直播中",
|
||||
"manaul_push_mode": "2",
|
||||
"manaul_push_state": "1",
|
||||
"views_count": "1234"
|
||||
}
|
||||
}
|
||||
25
suixinkan_iosTests/Fixtures/alive_list_success.json
Normal file
25
suixinkan_iosTests/Fixtures/alive_list_success.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"items": [
|
||||
{
|
||||
"id": "8101",
|
||||
"title": "景区晨间直播",
|
||||
"cover_img": "https://cdn.example.com/alive/cover.jpg",
|
||||
"push_url": "rtmp://push.example.com/live/8101",
|
||||
"start_time": "1779505200",
|
||||
"end_time": "1779508800",
|
||||
"duration": "3600",
|
||||
"status": "2",
|
||||
"status_label": "直播中",
|
||||
"manaul_push_mode": "2",
|
||||
"manaul_push_state": "1",
|
||||
"views_count": "1234"
|
||||
}
|
||||
],
|
||||
"total": "2",
|
||||
"page": "1",
|
||||
"page_size": "1"
|
||||
}
|
||||
}
|
||||
14
suixinkan_iosTests/Fixtures/available_order_success.json
Normal file
14
suixinkan_iosTests/Fixtures/available_order_success.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": [
|
||||
{
|
||||
"project_name": "亲子跟拍",
|
||||
"order_number": "ORD-TASK-001",
|
||||
"order_status": "20",
|
||||
"order_status_label": "已支付",
|
||||
"pay_time": "2026-06-21 09:55:00",
|
||||
"user_phone": "13800000000"
|
||||
}
|
||||
]
|
||||
}
|
||||
33
suixinkan_iosTests/Fixtures/cloud_file_list_success.json
Normal file
33
suixinkan_iosTests/Fixtures/cloud_file_list_success.json
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"total": "2",
|
||||
"list": [
|
||||
{
|
||||
"id": "501",
|
||||
"parent_folder_id": "0",
|
||||
"file_url": "",
|
||||
"cover_url": "",
|
||||
"updated_at": "2026-06-20 10:00:00",
|
||||
"name": "任务素材",
|
||||
"created_at": "2026-06-20 09:00:00",
|
||||
"child_num": "3",
|
||||
"type": "99",
|
||||
"file_size": "0"
|
||||
},
|
||||
{
|
||||
"id": 502,
|
||||
"parent_folder_id": 0,
|
||||
"file_url": "https://cdn.example.com/cloud/photo.jpg",
|
||||
"cover_url": "",
|
||||
"updated_at": "2026-06-20 10:00:00",
|
||||
"name": "photo.jpg",
|
||||
"created_at": "2026-06-20 09:00:00",
|
||||
"child_num": 0,
|
||||
"type": 2,
|
||||
"file_size": 2048
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
27
suixinkan_iosTests/Fixtures/deposit_order_list_success.json
Normal file
27
suixinkan_iosTests/Fixtures/deposit_order_list_success.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
4
suixinkan_iosTests/Fixtures/empty_success.json
Normal file
4
suixinkan_iosTests/Fixtures/empty_success.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success"
|
||||
}
|
||||
38
suixinkan_iosTests/Fixtures/flyer_detail_success.json
Normal file
38
suixinkan_iosTests/Fixtures/flyer_detail_success.json
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"id": "801",
|
||||
"flyer_nickname": "航拍摄影师",
|
||||
"account_id": "42",
|
||||
"realname_status": "2",
|
||||
"status": "1",
|
||||
"status_text": "审核中",
|
||||
"created_at": "2026-05-23 04:11:00",
|
||||
"updated_at": "2026-05-23 04:12:00",
|
||||
"reviewer": "审核员",
|
||||
"review_time": "2026-05-23 04:15:00",
|
||||
"reject_reason": "",
|
||||
"certificate_type": "2",
|
||||
"certificate_no": "UAS-2026-001",
|
||||
"certificate_start_date": "2026-01-01",
|
||||
"certificate_end_date": "2028-01-01",
|
||||
"certificate_image": "https://cdn.example.com/flyer/cert.jpg",
|
||||
"drone_model": "DJI Mini",
|
||||
"drone_sn": "SN20260523001",
|
||||
"contact_phone": "13800000000",
|
||||
"realname_status_text": "已实名",
|
||||
"flyers_certification_logs": [
|
||||
{
|
||||
"id": "9001",
|
||||
"flyer_id": "801",
|
||||
"operator": "审核员",
|
||||
"action": "2",
|
||||
"action_text": "通过",
|
||||
"reject_reason": "",
|
||||
"remark": "资料齐全",
|
||||
"created_at": "2026-05-23 04:15:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
30
suixinkan_iosTests/Fixtures/message_list_page2_success.json
Normal file
30
suixinkan_iosTests/Fixtures/message_list_page2_success.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
30
suixinkan_iosTests/Fixtures/message_list_success.json
Normal file
30
suixinkan_iosTests/Fixtures/message_list_success.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": [
|
||||
{
|
||||
"id": 901,
|
||||
"name": "湖心亭"
|
||||
},
|
||||
{
|
||||
"id": "902",
|
||||
"name": "观景台"
|
||||
}
|
||||
]
|
||||
}
|
||||
8
suixinkan_iosTests/Fixtures/operating_area_empty.json
Normal file
8
suixinkan_iosTests/Fixtures/operating_area_empty.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"total": 0,
|
||||
"list": []
|
||||
}
|
||||
}
|
||||
46
suixinkan_iosTests/Fixtures/operating_area_success.json
Normal file
46
suixinkan_iosTests/Fixtures/operating_area_success.json
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"total": 4,
|
||||
"list": [
|
||||
{
|
||||
"id": "101",
|
||||
"name": "东门门店",
|
||||
"business_map_area": [[[118.781, 32.041], [118.782, 32.041], [118.782, 32.042], [118.781, 32.041]]],
|
||||
"status_text": "启用",
|
||||
"type_text": "门店",
|
||||
"audit_status_text": "通过"
|
||||
},
|
||||
{
|
||||
"id": 102,
|
||||
"name": "西门门店",
|
||||
"business_map_area": "{\"type\":\"Polygon\",\"coordinates\":[[[118.791,32.051],[118.792,32.051],[118.792,32.052],[118.791,32.051]]]}",
|
||||
"status_text": "启用",
|
||||
"type_text": "门店",
|
||||
"audit_status_text": "通过"
|
||||
},
|
||||
{
|
||||
"id": 103,
|
||||
"name": "北区",
|
||||
"business_map_area": {
|
||||
"type": "MultiPolygon",
|
||||
"coordinates": [
|
||||
[[[118.801, 32.061], [118.802, 32.061], [118.802, 32.062], [118.801, 32.061]]]
|
||||
]
|
||||
},
|
||||
"status_text": "启用",
|
||||
"type_text": "区域",
|
||||
"audit_status_text": "通过"
|
||||
},
|
||||
{
|
||||
"id": 104,
|
||||
"name": "无效区域",
|
||||
"business_map_area": [[118.811, 32.071], [118.812, 32.071]],
|
||||
"status_text": "停用",
|
||||
"type_text": "区域",
|
||||
"audit_status_text": "待审核"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
83
suixinkan_iosTests/Fixtures/order_v2_success.json
Normal file
83
suixinkan_iosTests/Fixtures/order_v2_success.json
Normal file
@ -0,0 +1,83 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"total": "2",
|
||||
"list": [
|
||||
{
|
||||
"photog_uid": "42",
|
||||
"order_number": "ORDV2001",
|
||||
"remark": "需要精修",
|
||||
"scenic_area_id": "88",
|
||||
"pay_time": "2026-05-23 04:40:00",
|
||||
"complete_time": "",
|
||||
"order_status": "20",
|
||||
"order_status_name": "已支付",
|
||||
"user_id": "7001",
|
||||
"project_id": "5101",
|
||||
"phone": "13800000000",
|
||||
"order_amount": "299.50",
|
||||
"actual_pay_amount": "299.50",
|
||||
"actual_refund_amount": "0",
|
||||
"refund_amount": "0",
|
||||
"pay_type_name": "微信支付",
|
||||
"pay_type": "1",
|
||||
"project_name": "亲子跟拍",
|
||||
"order_type": "19",
|
||||
"order_type_label": "多点旅拍",
|
||||
"deposit_pay_time": "",
|
||||
"created_at": "2026-05-23 04:39:00",
|
||||
"photo_travel": {
|
||||
"order_photo_num": "9",
|
||||
"order_video_num": "1",
|
||||
"can_cancel_order": "1",
|
||||
"need_check_in": "0",
|
||||
"check_in_time": "",
|
||||
"can_gift_retouch": "1",
|
||||
"retouch_gift_time": "2026-05-24 04:40:00",
|
||||
"retouch_gift_photo_num": "2",
|
||||
"retouch_gift_video_num": "0"
|
||||
},
|
||||
"multi_travel": {
|
||||
"material_list": [
|
||||
{
|
||||
"file_name": "spot-901.jpg",
|
||||
"file_url": "https://cdn.example.com/order/spot-901.jpg",
|
||||
"file_type": "1",
|
||||
"file_size": "204800",
|
||||
"cover_url": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"isNeedEdit": "1",
|
||||
"is_refined": "1"
|
||||
},
|
||||
{
|
||||
"photog_uid": 43,
|
||||
"order_number": "ORDV2002",
|
||||
"remark": "",
|
||||
"scenic_area_id": 88,
|
||||
"pay_time": "2026-05-23 04:42:00",
|
||||
"complete_time": "2026-05-23 05:00:00",
|
||||
"order_status": 30,
|
||||
"order_status_name": "已完成",
|
||||
"user_id": 7002,
|
||||
"project_id": 5102,
|
||||
"phone": "13900000000",
|
||||
"order_amount": "99.00",
|
||||
"actual_pay_amount": "99.00",
|
||||
"actual_refund_amount": "0",
|
||||
"refund_amount": "0",
|
||||
"pay_type_name": "余额支付",
|
||||
"pay_type": 3,
|
||||
"project_name": "押金体验",
|
||||
"order_type": 4,
|
||||
"order_type_label": "押金",
|
||||
"deposit_pay_time": "2026-05-23 04:41:00",
|
||||
"created_at": "2026-05-23 04:41:00",
|
||||
"isNeedEdit": false,
|
||||
"is_refined": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
26
suixinkan_iosTests/Fixtures/real_name_info_success.json
Normal file
26
suixinkan_iosTests/Fixtures/real_name_info_success.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"real_name_info": {
|
||||
"real_name": "测试摄影师",
|
||||
"id_card_no": "320100********0012",
|
||||
"verified": "1",
|
||||
"start_date": "2026-01-01",
|
||||
"end_date": "2046-01-01",
|
||||
"is_long_valid": "0",
|
||||
"front_url": "https://cdn.example.com/front.jpg",
|
||||
"back_url": "https://cdn.example.com/back.jpg",
|
||||
"created_at": "2026-05-23 04:00:00",
|
||||
"audit_status": "2",
|
||||
"audit_status_text": "审核通过",
|
||||
"audit_at": "2026-05-23 04:05:00",
|
||||
"auditor_id": "7",
|
||||
"auditor": {
|
||||
"id": 7,
|
||||
"name": "审核员"
|
||||
},
|
||||
"reject_reason": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
63
suixinkan_iosTests/Fixtures/scenic_queue_home_success.json
Normal file
63
suixinkan_iosTests/Fixtures/scenic_queue_home_success.json
Normal 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"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"qrcode_url": "https://cdn.example.com/queue/spot-9.png"
|
||||
}
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"queue_count": "5",
|
||||
"avg_wait_min": "12.5",
|
||||
"time": "2026-05-23 03:10"
|
||||
}
|
||||
}
|
||||
@ -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": "停用"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
4
suixinkan_iosTests/Fixtures/server_code_error.json
Normal file
4
suixinkan_iosTests/Fixtures/server_code_error.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"code": 200001,
|
||||
"msg": "登录已过期"
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"total": 3,
|
||||
"data": [
|
||||
{
|
||||
"date": "2026-05-23",
|
||||
"order_count": "5",
|
||||
"order_price": "1299.50",
|
||||
"refund": "0",
|
||||
"received": "1299.50"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,23 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"total": 3,
|
||||
"data": [
|
||||
{
|
||||
"date": "2026-05-22",
|
||||
"order_count": 3,
|
||||
"order_price": "650.00",
|
||||
"refund": "50.00",
|
||||
"received": 600
|
||||
},
|
||||
{
|
||||
"date": "2026-05-21",
|
||||
"order_count": 2,
|
||||
"order_price": "420.00",
|
||||
"refund": "0",
|
||||
"received": "420.00"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
11
suixinkan_iosTests/Fixtures/statistics_summary_success.json
Normal file
11
suixinkan_iosTests/Fixtures/statistics_summary_success.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"order_amount_sum": "¥12,345.67",
|
||||
"order_count": "18",
|
||||
"order_price_avg": "685.87",
|
||||
"received_amount_sum": "12000.00",
|
||||
"refund_amount_sum": "345.67"
|
||||
}
|
||||
}
|
||||
42
suixinkan_iosTests/Fixtures/store_order_detail_success.json
Normal file
42
suixinkan_iosTests/Fixtures/store_order_detail_success.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"order_number": "ORDV2001",
|
||||
"order_type": "19",
|
||||
"order_type_label": "多点旅拍",
|
||||
"created_at": "2026-05-23 04:39:00",
|
||||
"order_status": "20",
|
||||
"order_status_name": "已支付",
|
||||
"actual_pay_amount": "299.50",
|
||||
"actual_refund_amount": 0,
|
||||
"pay_type_name": "微信支付",
|
||||
"pay_time": "2026-05-23 04:40:00",
|
||||
"complete_time": "",
|
||||
"user_id": "7001",
|
||||
"phone": "13800000000",
|
||||
"project_id": "5101",
|
||||
"project_name": "亲子跟拍",
|
||||
"remark": "需要精修",
|
||||
"multi_travel": {
|
||||
"project_info": {
|
||||
"settle_spot_num": "3",
|
||||
"single_spot_material_num": 8,
|
||||
"single_spot_photo_num": "2",
|
||||
"single_spot_video_num": 1
|
||||
},
|
||||
"shooting_list": [
|
||||
{
|
||||
"scenic_spot_id": "901",
|
||||
"photog_uid": "42",
|
||||
"scenic_spot_name": "东门",
|
||||
"staff_name": "",
|
||||
"photog_name": "张三",
|
||||
"status": "2",
|
||||
"start_avg": "4.8",
|
||||
"start": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
38
suixinkan_iosTests/Fixtures/task_detail_success.json
Normal file
38
suixinkan_iosTests/Fixtures/task_detail_success.json
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"id": "101",
|
||||
"name": "游客精修任务",
|
||||
"created_at": "2026-06-21 10:00:00",
|
||||
"task_status": "2",
|
||||
"task_status_label": "处理中",
|
||||
"accepted_at": "2026-06-21 10:05:00",
|
||||
"editor_name": "小李",
|
||||
"editor_phone": "13900000000",
|
||||
"urgent_hour": "24",
|
||||
"photog_remark": "请优先处理亲子照片",
|
||||
"order": {
|
||||
"project_name": "亲子跟拍",
|
||||
"order_number": "ORD-TASK-001",
|
||||
"pay_time": "2026-06-21 09:55:00",
|
||||
"user_phone": "13800000000"
|
||||
},
|
||||
"task_result": [
|
||||
{
|
||||
"id": 9101,
|
||||
"photog_task_id": 101,
|
||||
"user_id": 7001,
|
||||
"file_name": "result.mp4",
|
||||
"file_type": 1,
|
||||
"file_url": "https://cdn.example.com/task/result.mp4",
|
||||
"file_size": 4096,
|
||||
"cover_url": "https://cdn.example.com/task/result-cover.jpg",
|
||||
"duration": 12,
|
||||
"remark": "",
|
||||
"created_at": "2026-06-21 11:00:00",
|
||||
"updated_at": "2026-06-21 11:00:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
26
suixinkan_iosTests/Fixtures/task_list_page2_success.json
Normal file
26
suixinkan_iosTests/Fixtures/task_list_page2_success.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"total": 3,
|
||||
"list": [
|
||||
{
|
||||
"id": 103,
|
||||
"name": "补传照片",
|
||||
"type": 1,
|
||||
"order_number": "ORD-TASK-003",
|
||||
"task_status": 3,
|
||||
"status_name": "已完成",
|
||||
"created_at": "2026-06-23 09:00:00",
|
||||
"updated_at": "2026-06-23 09:30:00",
|
||||
"photog_remark": "",
|
||||
"editor_name": "小张",
|
||||
"operate_time": "",
|
||||
"order_user_nickname": "",
|
||||
"order_user_phone": "",
|
||||
"order_user_id": "",
|
||||
"media": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
58
suixinkan_iosTests/Fixtures/task_list_success.json
Normal file
58
suixinkan_iosTests/Fixtures/task_list_success.json
Normal file
@ -0,0 +1,58 @@
|
||||
{
|
||||
"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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
13
suixinkan_iosTests/Fixtures/user_info_success.json
Normal file
13
suixinkan_iosTests/Fixtures/user_info_success.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"avatar": "https://example.com/avatar.jpg",
|
||||
"real_name": "测试摄影师",
|
||||
"phone": "13800000000",
|
||||
"nickname": "跟拍小苏",
|
||||
"role_name": "摄影师",
|
||||
"status": 1,
|
||||
"status_name": "已认证"
|
||||
}
|
||||
}
|
||||
67
suixinkan_iosTests/Fixtures/v9_login_multi_success.json
Normal file
67
suixinkan_iosTests/Fixtures/v9_login_multi_success.json
Normal file
@ -0,0 +1,67 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"token": "person-temp-token",
|
||||
"scenic_users": [
|
||||
{
|
||||
"account_type": "scenic_user",
|
||||
"id": 101,
|
||||
"user_id": 101,
|
||||
"scenic_user_id": 101,
|
||||
"ss_user_id": 101,
|
||||
"username": "scenic_admin",
|
||||
"real_name": "张三",
|
||||
"nickname": "张三",
|
||||
"phone": "13800138000",
|
||||
"scenic_id": 10,
|
||||
"scenic_name": "示例景区",
|
||||
"status": 1,
|
||||
"status_label": "正常",
|
||||
"app_role_id": 3,
|
||||
"app_role_code": "scenic_admin",
|
||||
"app_role_name": "景区管理员",
|
||||
"app_role": {
|
||||
"id": 3,
|
||||
"legacy_role_id": 53,
|
||||
"code": "scenic_admin",
|
||||
"name": "景区管理员",
|
||||
"notes": "",
|
||||
"status": 1
|
||||
},
|
||||
"is_current": false
|
||||
}
|
||||
],
|
||||
"store_users": [
|
||||
{
|
||||
"account_type": "store_user",
|
||||
"id": 201,
|
||||
"user_id": 201,
|
||||
"store_user_id": 201,
|
||||
"username": "store_admin",
|
||||
"user_name": "store_admin",
|
||||
"real_name": "张三",
|
||||
"phone": "13800138000",
|
||||
"avatar": "https://example.com/avatar.png",
|
||||
"scenic_id": 10,
|
||||
"scenic_name": "示例景区",
|
||||
"store_id": 20,
|
||||
"store_name": "示例门店",
|
||||
"status": 1,
|
||||
"status_label": "正常",
|
||||
"app_role_id": 1,
|
||||
"app_role_code": "store_admin",
|
||||
"app_role_name": "店铺管理员",
|
||||
"app_role": {
|
||||
"id": 1,
|
||||
"legacy_role_id": 46,
|
||||
"code": "store_admin",
|
||||
"name": "店铺管理员",
|
||||
"notes": "",
|
||||
"status": 1
|
||||
},
|
||||
"is_current": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"token": "person-temp-token",
|
||||
"scenic_users": [
|
||||
{
|
||||
"account_type": "scenic_user",
|
||||
"id": 101,
|
||||
"user_id": 101,
|
||||
"scenic_user_id": 101,
|
||||
"ss_user_id": 101,
|
||||
"username": "scenic_admin",
|
||||
"real_name": "张三",
|
||||
"nickname": "张三",
|
||||
"phone": "13800138000",
|
||||
"scenic_id": 10,
|
||||
"scenic_name": "示例景区",
|
||||
"is_current": false
|
||||
}
|
||||
],
|
||||
"store_users": []
|
||||
}
|
||||
}
|
||||
24
suixinkan_iosTests/Fixtures/v9_set_scenic_user_success.json
Normal file
24
suixinkan_iosTests/Fixtures/v9_set_scenic_user_success.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"token": "business-token-scenic",
|
||||
"scenic_users": [
|
||||
{
|
||||
"account_type": "scenic_user",
|
||||
"id": 101,
|
||||
"user_id": 101,
|
||||
"scenic_user_id": 101,
|
||||
"ss_user_id": 101,
|
||||
"username": "scenic_admin",
|
||||
"real_name": "张三",
|
||||
"nickname": "张三",
|
||||
"phone": "13800138000",
|
||||
"scenic_id": 10,
|
||||
"scenic_name": "示例景区",
|
||||
"is_current": true
|
||||
}
|
||||
],
|
||||
"store_users": []
|
||||
}
|
||||
}
|
||||
39
suixinkan_iosTests/Fixtures/v9_set_store_user_success.json
Normal file
39
suixinkan_iosTests/Fixtures/v9_set_store_user_success.json
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"token": "business-token-store",
|
||||
"scenic_users": [],
|
||||
"store_users": [
|
||||
{
|
||||
"account_type": "store_user",
|
||||
"id": 201,
|
||||
"user_id": 201,
|
||||
"store_user_id": 201,
|
||||
"username": "store_admin",
|
||||
"user_name": "store_admin",
|
||||
"real_name": "张三",
|
||||
"phone": "13800138000",
|
||||
"avatar": "https://example.com/avatar.png",
|
||||
"scenic_id": 10,
|
||||
"scenic_name": "示例景区",
|
||||
"store_id": 20,
|
||||
"store_name": "示例门店",
|
||||
"status": 1,
|
||||
"status_label": "正常",
|
||||
"app_role_id": 1,
|
||||
"app_role_code": "store_admin",
|
||||
"app_role_name": "店铺管理员",
|
||||
"app_role": {
|
||||
"id": 1,
|
||||
"legacy_role_id": 46,
|
||||
"code": "store_admin",
|
||||
"name": "店铺管理员",
|
||||
"notes": "",
|
||||
"status": 1
|
||||
},
|
||||
"is_current": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
19
suixinkan_iosTests/Fixtures/writeoff_list_success.json
Normal file
19
suixinkan_iosTests/Fixtures/writeoff_list_success.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"total": 1,
|
||||
"list": [
|
||||
{
|
||||
"order_number": "VERIFY001",
|
||||
"order_verification_status": "待核销",
|
||||
"pay_time": "2026-05-23 03:03",
|
||||
"project_name": "核销套餐",
|
||||
"user_phone": "13800000000",
|
||||
"order_amount": "99.00",
|
||||
"order_status_name": "已支付",
|
||||
"order_verification_time": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user