fix: 调整返回

This commit is contained in:
周俊耀 2025-04-15 09:53:36 +08:00
parent 69beac21ff
commit fb8bac623c

View File

@ -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)