feat: 支持第三方卡券收到订单后自动核销
This commit is contained in:
@@ -148,6 +148,7 @@ export type VoucherConsumeChannel =
|
||||
| 'third_party_voucher'
|
||||
export type VoucherConsumeMode =
|
||||
| 'manual'
|
||||
| 'after_order_received'
|
||||
| 'after_link_generated'
|
||||
| 'after_task_created'
|
||||
| 'after_work_order_published'
|
||||
@@ -161,6 +162,7 @@ export type VoucherChannelConsumePolicy = {
|
||||
}
|
||||
|
||||
export type VoucherConsumePolicy = {
|
||||
version: number
|
||||
enabled: boolean
|
||||
platforms: Record<
|
||||
VoucherConsumeProvider,
|
||||
|
||||
Reference in New Issue
Block a user