fix: payment route name
CI / changes (push) Successful in 1m28s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 29s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 27s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / support (push) Successful in 1s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 1s
CI / changes (push) Successful in 1m28s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 29s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 27s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / support (push) Successful in 1s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 1s
This commit is contained in:
@@ -25,8 +25,8 @@ type (
|
||||
Pay(ctx context.Context, in *PayReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Query(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Close(ctx context.Context, in *CloseReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Refund(ctx context.Context, in *RefundReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Notify(ctx context.Context, in *NotifyReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Refund(ctx context.Context, in *RefundReq, opts ...grpc.CallOption) (*Response, error)
|
||||
}
|
||||
|
||||
defaultPayment struct {
|
||||
@@ -55,12 +55,12 @@ func (m *defaultPayment) Close(ctx context.Context, in *CloseReq, opts ...grpc.C
|
||||
return client.Close(ctx, in, opts...)
|
||||
}
|
||||
|
||||
func (m *defaultPayment) Refund(ctx context.Context, in *RefundReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
client := payment.NewPaymentClient(m.cli.Conn())
|
||||
return client.Refund(ctx, in, opts...)
|
||||
}
|
||||
|
||||
func (m *defaultPayment) Notify(ctx context.Context, in *NotifyReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
client := payment.NewPaymentClient(m.cli.Conn())
|
||||
return client.Notify(ctx, in, opts...)
|
||||
}
|
||||
|
||||
func (m *defaultPayment) Refund(ctx context.Context, in *RefundReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
client := payment.NewPaymentClient(m.cli.Conn())
|
||||
return client.Refund(ctx, in, opts...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user