From 755122a85214162686f06cd08781bd720e813a01 Mon Sep 17 00:00:00 2001 From: zhora Date: Tue, 23 Sep 2025 12:43:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=8A=B6=E6=80=81=E6=97=B6?= =?UTF-8?q?=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/pay/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pay/handler.go b/modules/pay/handler.go index 70d620c..85e4c6c 100644 --- a/modules/pay/handler.go +++ b/modules/pay/handler.go @@ -39,7 +39,7 @@ func Recharge(req *pb.InnerRechargeReq) (ret []byte, err error) { } for _, v := range call.GetConfigPayChannels() { if req.Amount*common.DecimalDigits <= v.PayUp && req.Amount*common.DecimalDigits >= v.PayDown && v.CurrencyType == common.CurrencyINR { - if !db.Redis().Lock(common.GetRedisKeyUserPay(v.ChannelID, int(req.UID), int(req.Amount)), 2*time.Minute) { + if !db.Redis().Lock(common.GetRedisKeyUserPay(v.ChannelID, int(req.UID), int(req.Amount)), 1*time.Minute) { continue } if weightChannel != uint32(v.ChannelID) {