fix: +日志

This commit is contained in:
周俊耀 2025-04-15 10:40:21 +08:00
parent fb8bac623c
commit cee52be722

View File

@ -238,12 +238,14 @@ func CreateAntomPay(c *gin.Context) {
CheckoutSessionId: result.CheckoutSessionId, CheckoutSessionId: result.CheckoutSessionId,
CheckoutSessionUrl: result.Url, CheckoutSessionUrl: result.Url,
}) })
var resp *order.CreateStripeCheckoutSessionResponse fmt.Println("=====================================")
resp := &order.CreateStripeCheckoutSessionResponse{}
resp.CheckoutSessionUrl = result.Url resp.CheckoutSessionUrl = result.Url
resp.CheckoutSessionId = result.CheckoutSessionId resp.CheckoutSessionId = result.CheckoutSessionId
fmt.Println("resp:", resp) fmt.Println("resp:", resp)
if updateOrderRecordErr != nil { if updateOrderRecordErr != nil {
fmt.Println("有更新报错:", updateOrderRecordErr)
service.Error(c, updateOrderRecordErr) service.Error(c, updateOrderRecordErr)
return return
} }