fix: 调整返回
This commit is contained in:
parent
69beac21ff
commit
fb8bac623c
@ -238,7 +238,7 @@ func CreateAntomPay(c *gin.Context) {
|
||||
CheckoutSessionId: result.CheckoutSessionId,
|
||||
CheckoutSessionUrl: result.Url,
|
||||
})
|
||||
resp := &order.CreateStripeCheckoutSessionResponse{}
|
||||
var resp *order.CreateStripeCheckoutSessionResponse
|
||||
resp.CheckoutSessionUrl = result.Url
|
||||
resp.CheckoutSessionId = result.CheckoutSessionId
|
||||
fmt.Println("resp:", resp)
|
||||
|
Loading…
Reference in New Issue
Block a user