fix: 调整创建antom支付的返回
This commit is contained in:
parent
7af00f999b
commit
736975ed2e
@ -238,6 +238,10 @@ func CreateAntomPay(c *gin.Context) {
|
|||||||
CheckoutSessionId: result.CheckoutSessionId,
|
CheckoutSessionId: result.CheckoutSessionId,
|
||||||
CheckoutSessionUrl: result.Url,
|
CheckoutSessionUrl: result.Url,
|
||||||
})
|
})
|
||||||
|
resp := &order.CreateStripeCheckoutSessionResponse{}
|
||||||
|
resp.CheckoutSessionUrl = result.Url
|
||||||
|
resp.CheckoutSessionId = result.CheckoutSessionId
|
||||||
|
fmt.Println("resp:", resp)
|
||||||
|
|
||||||
if updateOrderRecordErr != nil {
|
if updateOrderRecordErr != nil {
|
||||||
service.Error(c, updateOrderRecordErr)
|
service.Error(c, updateOrderRecordErr)
|
||||||
|
Loading…
Reference in New Issue
Block a user