feat(payment): 增加支付配置测试支付与全链路报文
This commit is contained in:
@@ -99,6 +99,7 @@ type QueryPaymentResponse struct {
|
||||
PayWay string
|
||||
PayTime string
|
||||
Raw map[string]string
|
||||
RawRequest map[string]string
|
||||
}
|
||||
|
||||
type CreateRefundRequest struct {
|
||||
@@ -266,6 +267,7 @@ func (c *Client) QueryPayment(ctx context.Context, thirdOrderID, providerOrderID
|
||||
PayWay: raw["pay_way"],
|
||||
PayTime: firstNonEmpty(raw["pay_time"], raw["channel_datetime"]),
|
||||
Raw: raw,
|
||||
RawRequest: copyStringMap(params),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user