Files
go-common/app/service/main/passport-auth/model/model.go
2019-04-22 18:49:16 +08:00

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"`
}