feat(v2): outbox 退款感知(refund_id 进唯一键)+ 投递门禁放行退款态 + Enqueue 贯通 refundID
This commit is contained in:
@@ -33,8 +33,9 @@ type ProductResolver interface {
|
||||
}
|
||||
|
||||
// WebhookEnqueuer receives a domain payload to deliver to the business system.
|
||||
// refundID 为退款事件的幂等维度(payment 事件传 "")。
|
||||
type WebhookEnqueuer interface {
|
||||
Enqueue(outTradeNo, bizSystem, eventType string, data map[string]any) error
|
||||
Enqueue(outTradeNo, bizSystem, eventType, refundID string, data map[string]any) error
|
||||
}
|
||||
|
||||
type Gateway struct {
|
||||
|
||||
Reference in New Issue
Block a user