微信回调消费接收消息成功

This commit is contained in:
ziming 2025-05-28 22:12:30 +08:00
parent f4cecc138b
commit 216500e4d1
1 changed files with 1 additions and 3 deletions

View File

@ -29,8 +29,6 @@ func (c *CmbService) order(ctx context.Context, request *v1.CmbRequest) (string,
return "", err return "", err
} }
ctx2 := context.Background()
boReq := &bo.OrderCreateReqBo{ boReq := &bo.OrderCreateReqBo{
OutBizNo: bizContent.TransactionId, OutBizNo: bizContent.TransactionId,
ProductNo: bizContent.ActivityId, ProductNo: bizContent.ActivityId,
@ -42,7 +40,7 @@ func (c *CmbService) order(ctx context.Context, request *v1.CmbRequest) (string,
NotifyUrl: c.bc.Cmb.NotifyUrl, NotifyUrl: c.bc.Cmb.NotifyUrl,
} }
orderNo, err := c.VoucherBiz.CmbOrder(ctx2, boReq) orderNo, err := c.VoucherBiz.CmbOrder(ctx, boReq)
if err != nil { if err != nil {
return "", err return "", err
} }