From 9f208b9a9c74b78c52f9440dade01f0b63b13880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 4 Jul 2022 19:49:31 +0800 Subject: [PATCH] 1 --- business/q_bida/q_bida_server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/q_bida/q_bida_server.go b/business/q_bida/q_bida_server.go index e07e2d25b..8585ed7c7 100644 --- a/business/q_bida/q_bida_server.go +++ b/business/q_bida/q_bida_server.go @@ -205,8 +205,8 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd } globals.SugarLogger.Debug("time.Now().Unix()-order.CreatedAt.Unix()", time.Now().Unix()-order.CreatedAt.Unix()) - if time.Now().Unix()-order.CreatedAt.Unix() <= 15 { - return errors.New("操作台频繁,请稍后再取消") + if time.Now().Unix()-order.CreatedAt.Unix() <= 60 { + return errors.New("支付成功后,超过一分钟才能取消") } // 待支付或者支付失败