...
|
...
|
@@ -7,11 +7,11 @@ const ( |
|
|
|
|
|
const AuthCodeExpire = 60 * 15
|
|
|
|
|
|
//const TokenExpire = 60 * 60 * 2
|
|
|
//const RefreshTokenExipre = 3600 * 24 * 30 * 1 //刷新token 一个月过期
|
|
|
const TokenExpire = 60 * 60 * 2
|
|
|
const RefreshTokenExipre = 3600 * 24 * 30 * 1 //刷新token 一个月过期
|
|
|
|
|
|
const TokenExpire = 30
|
|
|
const RefreshTokenExipre = 60 //刷新token
|
|
|
//const TokenExpire = 30
|
|
|
//const RefreshTokenExipre = 60 //刷新token
|
|
|
|
|
|
/*Login */
|
|
|
type LoginRequest struct {
|
...
|
...
|
|