fix: 调整创建antom支付的返回

This commit is contained in:
周俊耀 2025-04-15 09:21:39 +08:00
parent 7af00f999b
commit 736975ed2e

View File

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