Files
openbilibili/app/service/main/passport-auth/model/model.go

18 lines
432 B
Go
Raw Normal View History

2019-04-22 20:46:32 +08:00
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"`
}