From e793798aca778ec61394ecc9c5b5e4681eca2db5 Mon Sep 17 00:00:00 2001 From: johlanse Date: Thu, 18 Aug 2022 15:42:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=BF=87=E6=9C=9Fcookie=E6=8E=A8=E9=80=81=EF=BC=8C?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=94=AF=E6=8C=81=E9=85=8D=E7=BD=AE=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/user.go b/model/user.go index bd7ae5d..73b5f8a 100644 --- a/model/user.go +++ b/model/user.go @@ -296,6 +296,6 @@ func check() { _ = UpdateUser(user) } } - time.Sleep(time.Hour * time.Duration(rand.Intn(2))) + time.Sleep(time.Hour * time.Duration(rand.Intn(2)+1)) } }