From fb8bac623c00d5e7808b68521883905750d01aa8 Mon Sep 17 00:00:00 2001 From: zhoujunyao Date: Tue, 15 Apr 2025 09:53:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/service/bundle/pay.go b/pkg/service/bundle/pay.go index a8fb24e..9a2e2a2 100644 --- a/pkg/service/bundle/pay.go +++ b/pkg/service/bundle/pay.go @@ -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)