From 4cac90f2da389f2664d23db8512886a9e71fc35c Mon Sep 17 00:00:00 2001 From: ziming Date: Thu, 27 Mar 2025 17:50:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=EF=BC=8Cmock=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/service/cmb_order.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/service/cmb_order.go b/internal/service/cmb_order.go index c4fd75e..3351c1f 100644 --- a/internal/service/cmb_order.go +++ b/internal/service/cmb_order.go @@ -5,7 +5,6 @@ import ( "encoding/json" "github.com/go-kratos/kratos/v2/errors" "github.com/go-kratos/kratos/v2/log" - "time" err2 "voucher/api/err" v1 "voucher/api/v1" "voucher/internal/biz/bo" @@ -67,10 +66,6 @@ func (c *CmbService) order(ctx context.Context, request *v1.CmbRequest) (string, ctx2 := context.Background() - if bizContent.ActivityId == "001" { - time.Sleep(400 * time.Millisecond) - } - boReq := &bo.OrderCreateReqBo{ OutBizNo: bizContent.TransactionId, ProductNo: bizContent.ActivityId,