同步已迁移的 iOS 模块
This commit is contained in:
4
suixinkanTests/Fixtures/empty_success.json
Normal file
4
suixinkanTests/Fixtures/empty_success.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success"
|
||||
}
|
||||
83
suixinkanTests/Fixtures/order_v2_success.json
Normal file
83
suixinkanTests/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
suixinkanTests/Fixtures/real_name_info_success.json
Normal file
26
suixinkanTests/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": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
4
suixinkanTests/Fixtures/server_code_error.json
Normal file
4
suixinkanTests/Fixtures/server_code_error.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"code": 200001,
|
||||
"msg": "登录已过期"
|
||||
}
|
||||
16
suixinkanTests/Fixtures/statistics_daily_page1_total3.json
Normal file
16
suixinkanTests/Fixtures/statistics_daily_page1_total3.json
Normal file
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
23
suixinkanTests/Fixtures/statistics_daily_page2_total3.json
Normal file
23
suixinkanTests/Fixtures/statistics_daily_page2_total3.json
Normal file
@ -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
suixinkanTests/Fixtures/statistics_summary_success.json
Normal file
11
suixinkanTests/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"
|
||||
}
|
||||
}
|
||||
13
suixinkanTests/Fixtures/user_info_success.json
Normal file
13
suixinkanTests/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
suixinkanTests/Fixtures/v9_login_multi_success.json
Normal file
67
suixinkanTests/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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
39
suixinkanTests/Fixtures/v9_set_store_user_success.json
Normal file
39
suixinkanTests/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
suixinkanTests/Fixtures/writeoff_list_success.json
Normal file
19
suixinkanTests/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