feat(worker-platform): 支持客户退款冲正并关闭订单
This commit is contained in:
@@ -635,6 +635,8 @@ export async function approveAndRecordKuaishouRefund(
|
||||
refundedAt?: string | undefined
|
||||
sellerId?: string | undefined
|
||||
refundHandingWay?: unknown
|
||||
status?: unknown
|
||||
negotiateStatus?: unknown
|
||||
desc?: string | undefined
|
||||
},
|
||||
session: AdminSession | null,
|
||||
@@ -770,6 +772,8 @@ export async function approveAndRecordKuaishouRefund(
|
||||
refundAmount: amountFen,
|
||||
desc: input.desc || input.note || '',
|
||||
refundHandingWay: input.refundHandingWay,
|
||||
status: input.status,
|
||||
negotiateStatus: input.negotiateStatus,
|
||||
...(input.sellerId ? { sellerId: input.sellerId } : {}),
|
||||
})
|
||||
await updatePlatformRefundIntent(intent.id, 'platform_approved')
|
||||
|
||||
Reference in New Issue
Block a user