From 685067b25d8a0fb6591e80cd3e8184d0fde53736 Mon Sep 17 00:00:00 2001 From: ziming Date: Mon, 25 Aug 2025 15:32:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E7=AC=94=E7=AB=8B=E5=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/biz/order.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/biz/order.go b/internal/biz/order.go index 4ef70cc..f497a41 100644 --- a/internal/biz/order.go +++ b/internal/biz/order.go @@ -55,6 +55,8 @@ func (this *VoucherBiz) order(ctx context.Context, req *bo.OrderCreateReqBo, pro return nil, err } + return order, fmt.Errorf("请求微信成功,故意返回失败,当前订单状态待发放") + if err = this.success(ctx, order, voucherNo); err != nil { return nil, err }