From 15e7479af0b746e5d898f8142bee485e7ef98e3d Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Fri, 3 Sep 2021 19:39:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=B6=E9=97=B4=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/container.go b/models/container.go index a864184..1e1471d 100644 --- a/models/container.go +++ b/models/container.go @@ -366,7 +366,7 @@ func (c *Container) getToken() error { } } else { logs.Info("缓存token") - h, _ := time.ParseDuration("+24d") + h, _ := time.ParseDuration("+640h") tZero := time.Now().Add(h) logs.Info(tZero) logs.Info(token.Expiration)