feat(payment): 移植扫呗普通支付2.0
This commit is contained in:
@@ -45,9 +45,9 @@ func (c breakerChannel) CreatePayment(ctx context.Context, req channelCreatePaym
|
||||
})
|
||||
}
|
||||
|
||||
func (c breakerChannel) QueryPayment(ctx context.Context, thirdOrderID string, providerOrderID string) (*channelQueryPaymentResponse, error) {
|
||||
func (c breakerChannel) QueryPayment(ctx context.Context, req channelQueryPaymentRequest) (*channelQueryPaymentResponse, error) {
|
||||
return c.queryPayment.Execute(func() (*channelQueryPaymentResponse, error) {
|
||||
return c.next.QueryPayment(ctx, thirdOrderID, providerOrderID)
|
||||
return c.next.QueryPayment(ctx, req)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user