From 216500e4d10878e4800174d161305234471c2acd Mon Sep 17 00:00:00 2001 From: ziming Date: Wed, 28 May 2025 22:12:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=9B=9E=E8=B0=83=E6=B6=88?= =?UTF-8?q?=E8=B4=B9=E6=8E=A5=E6=94=B6=E6=B6=88=E6=81=AF=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/service/order.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/service/order.go b/internal/service/order.go index fa9e6fb..164fc1e 100644 --- a/internal/service/order.go +++ b/internal/service/order.go @@ -29,8 +29,6 @@ func (c *CmbService) order(ctx context.Context, request *v1.CmbRequest) (string, return "", err } - ctx2 := context.Background() - boReq := &bo.OrderCreateReqBo{ OutBizNo: bizContent.TransactionId, ProductNo: bizContent.ActivityId, @@ -42,7 +40,7 @@ func (c *CmbService) order(ctx context.Context, request *v1.CmbRequest) (string, NotifyUrl: c.bc.Cmb.NotifyUrl, } - orderNo, err := c.VoucherBiz.CmbOrder(ctx2, boReq) + orderNo, err := c.VoucherBiz.CmbOrder(ctx, boReq) if err != nil { return "", err }