mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-07 21:48:31 -05:00
18 lines
432 B
Go
18 lines
432 B
Go
|
|
package model
|
||
|
|
|
||
|
|
// RefreshTokenResp refreshToken response
|
||
|
|
type RefreshTokenResp struct {
|
||
|
|
Mid int64 `json:"mid"`
|
||
|
|
AccessToken string `json:"access_token"`
|
||
|
|
RefreshToken string `json:"refresh_token"`
|
||
|
|
Expires int64 `json:"expires"`
|
||
|
|
}
|
||
|
|
|
||
|
|
// CookieResp cookie response
|
||
|
|
type CookieResp struct {
|
||
|
|
Mid int64 `json:"mid"`
|
||
|
|
Session string `json:"session"`
|
||
|
|
CSRF string `json:"csrf"`
|
||
|
|
Expires int64 `json:"expires"`
|
||
|
|
}
|