From 736975ed2ee156337392c14c5ac1a642865079b0 Mon Sep 17 00:00:00 2001 From: zhoujunyao Date: Tue, 15 Apr 2025 09:21:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E5=88=9B=E5=BB=BAanto?= =?UTF-8?q?m=E6=94=AF=E4=BB=98=E7=9A=84=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/service/bundle/pay.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/service/bundle/pay.go b/pkg/service/bundle/pay.go index e28f815..6cfa525 100644 --- a/pkg/service/bundle/pay.go +++ b/pkg/service/bundle/pay.go @@ -238,6 +238,10 @@ func CreateAntomPay(c *gin.Context) { CheckoutSessionId: result.CheckoutSessionId, CheckoutSessionUrl: result.Url, }) + resp := &order.CreateStripeCheckoutSessionResponse{} + resp.CheckoutSessionUrl = result.Url + resp.CheckoutSessionId = result.CheckoutSessionId + fmt.Println("resp:", resp) if updateOrderRecordErr != nil { service.Error(c, updateOrderRecordErr)