统一状态码,优化对应逻辑

This commit is contained in:
not-like-juvenile
2026-02-09 16:53:20 +08:00
parent 3ea0f008b5
commit f46ec4c461
19 changed files with 591 additions and 236 deletions

View File

@@ -97,15 +97,7 @@
}
function getEventText(code: string) : string {
const maps = {
'SHIPPED': '发货揽收',
'IN_TRANSIT': '运输中',
'ARRIVED_HUB': '中转入库',
'OUT_FOR_DELIVERY': '派件中',
'DELIVERED': '确认签收',
'EXCEPTION': '异常上报'
}
return (maps[code] != null) ? maps[code] : code
return mockService.getStatusText(code)
}
function reProcess(log: MockWebhookLog) {