qq.go 507 B

123456789101112131415161718
  1. package model
  2. // QQAccessResp qq access response
  3. type QQAccessResp struct {
  4. Token string `json:"access_token"`
  5. Refresh string `json:"refresh_token"`
  6. Expires int64 `json:"expires_in"`
  7. Code int `json:"error"`
  8. Description string `json:"error_description"`
  9. }
  10. // QQOpenIDResp qq open id response
  11. type QQOpenIDResp struct {
  12. UnionID string `json:"unionid"`
  13. OpenID string `json:"openid"`
  14. Code int `json:"error"`
  15. Description string `json:"error_description"`
  16. }