ts类型检查

This commit is contained in:
yml
2026-05-04 09:43:38 +08:00
parent a914b7b828
commit 66261e56d1
23 changed files with 223 additions and 76 deletions
@@ -66,7 +66,7 @@ export async function syncDeliveryTasksForOrder(order, orderItems) {
executorKey: String(profile.executor_key || 'manual_dispatch'),
taskStatus: initialStatus,
inventoryStatus: profile.requires_claim ? 'pending' : 'not_required',
deliveryStatus: initialStatus === 'redeemed' ? 'delivered' : 'pending',
deliveryStatus: 'pending',
resultCode: '',
resultMessage: '',
claimToken: '',