weibo.go 417 B

123456789101112
  1. package model
  2. // WeiboAccessResp weibo access response
  3. type WeiboAccessResp struct {
  4. Token string `json:"access_token"`
  5. Refresh string `json:"refresh_token"`
  6. Expires int64 `json:"expires_in"` // access_token的生命周期,单位是秒数
  7. OpenID string `json:"uid"`
  8. Code int `json:"error_code"`
  9. Error string `json:"error"`
  10. Description string `json:"error_description"`
  11. }