token调试

This commit is contained in:
ZJY 2021-09-03 07:45:38 +08:00
parent af567b521b
commit 71d76a3e60

View File

@ -368,7 +368,7 @@ func (c *Container) getToken() error {
logs.Info("缓存token")
h, _ := time.ParseDuration("+24d")
tZero := time.Time{}.Local().Add(h)
if tZero.After(token.expiration) {
if tZero.Before(token.expiration) {
err2, done := getT(c, token)
if done {
return err2