token调试
This commit is contained in:
parent
af567b521b
commit
71d76a3e60
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user