Add OperatingArea and PilotCertification modules with live push readiness.
Migrate operating area and pilot certification from home placeholders, extend Live with playback and push readiness flows, and add pilot certificate OSS upload. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
38
suixinkanTests/Fixtures/flyer_detail_success.json
Normal file
38
suixinkanTests/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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
8
suixinkanTests/Fixtures/operating_area_empty.json
Normal file
8
suixinkanTests/Fixtures/operating_area_empty.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"code": 100000,
|
||||
"msg": "success",
|
||||
"data": {
|
||||
"total": 0,
|
||||
"list": []
|
||||
}
|
||||
}
|
||||
46
suixinkanTests/Fixtures/operating_area_success.json
Normal file
46
suixinkanTests/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": "待审核"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user