修复时间问题

This commit is contained in:
ZJY 2021-09-03 19:39:14 +08:00
parent 732ae7f27c
commit 15e7479af0

View File

@ -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)