From 0b8fc0915b4f0d35f187fab4f550c13e7ba337da Mon Sep 17 00:00:00 2001 From: momo <1012651275@qq.com> Date: Sat, 7 Oct 2023 16:13:08 +0800 Subject: [PATCH] fix --- service/repositories/order.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/repositories/order.go b/service/repositories/order.go index a4d1f5da..2d39860d 100644 --- a/service/repositories/order.go +++ b/service/repositories/order.go @@ -690,8 +690,8 @@ func (d *defaultOrder) CreatePrePaymentByDeposit(ctx context.Context, in *Create ntimeTimeOut := ntime.Unix() // 测试超时支付不限制 - //if ctimeTimeOut < ntimeTimeOut { - if ctimeTimeOut == ntimeTimeOut { + if ctimeTimeOut < ntimeTimeOut { + // if ctimeTimeOut == ntimeTimeOut { errorCode = *basic.CodeErrOrderCreatePrePaymentTimeout err = errors.New("order pay timeout") logc.Errorf(ctx, "create prePayment deposit failed, err: %v", err)