token调试

This commit is contained in:
ZJY 2021-09-03 07:46:31 +08:00
parent 71d76a3e60
commit d4c0c8bbc2

View File

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