From 3e9376ec561142c7d2765b5717a843926e0206c4 Mon Sep 17 00:00:00 2001 From: ziming Date: Thu, 27 Mar 2025 17:42:08 +0800 Subject: [PATCH] =?UTF-8?q?mock=20=E6=BB=A1=E8=B6=B3=E6=8B=9B=E8=A1=8C?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E5=A4=B1=E8=B4=A5=EF=BC=8C=E4=BA=8C?= =?UTF-8?q?=E6=AC=A1=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/biz/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/biz/order.go b/internal/biz/order.go index 8f17cf9..c9ef474 100644 --- a/internal/biz/order.go +++ b/internal/biz/order.go @@ -42,7 +42,7 @@ func (v *VoucherBiz) order(ctx context.Context, req *bo.OrderCreateReqBo, produc return nil, err3 } - return order, nil + return order, fmt.Errorf("mock 满足招行第一次失败,二次成功") return order, v.success(ctx, order, voucherNo) }