getui expire_time
This commit is contained in:
parent
dc8eede4b7
commit
8bd4976fda
|
@ -105,7 +105,7 @@ func (g *Getui) Token() string {
|
||||||
token := cast.ToString(result["token"])
|
token := cast.ToString(result["token"])
|
||||||
tokenExpire := cast.ToInt64(result["expire_time"])
|
tokenExpire := cast.ToInt64(result["expire_time"])
|
||||||
g.token = token
|
g.token = token
|
||||||
g.tokenExpire = tokenExpire
|
g.tokenExpire = tokenExpire / 1000
|
||||||
return g.token
|
return g.token
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue