token调试
This commit is contained in:
parent
71d76a3e60
commit
d4c0c8bbc2
@ -368,6 +368,7 @@ func (c *Container) getToken() error {
|
||||
logs.Info("缓存token")
|
||||
h, _ := time.ParseDuration("+24d")
|
||||
tZero := time.Time{}.Local().Add(h)
|
||||
logs.Info(tZero)
|
||||
if tZero.Before(token.expiration) {
|
||||
err2, done := getT(c, token)
|
||||
if done {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user