删除库存和旧回调管理
This commit is contained in:
@@ -221,14 +221,14 @@ export function notifyClaimRedeemNeedsAttention({
|
||||
const orderRecord = toRecord(order)
|
||||
|
||||
return notifyInternalSafely({
|
||||
title: status === 'waiting_inventory' ? '库存不足,任务等待补货' : '兑换失败,任务需关注',
|
||||
title: '兑换失败,任务需关注',
|
||||
body: [
|
||||
formatTaskLine(taskRecord),
|
||||
`订单:${String(orderRecord.platform_order_id || taskRecord.platform_order_id || '').trim() || '-'}`,
|
||||
`状态:${String(status || taskRecord.task_status || '').trim() || '-'}`,
|
||||
`原因:${String(errorMessage || taskRecord.last_error || '').trim() || '-'}`,
|
||||
].join('\n'),
|
||||
category: status === 'waiting_inventory' ? 'task_waiting_inventory' : 'claim_redeem_failed',
|
||||
category: 'claim_redeem_failed',
|
||||
cooldownKey: ['claim_redeem_needs_attention', taskRecord.id || '', status].join(':'),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user