kuaishouAuth.go 1.1 KB

123456789101112131415161718192021222324
  1. package youngee_talent_model
  2. import (
  3. "github.com/gogf/gf/os/gtime"
  4. "github.com/gogf/gf/util/gmeta"
  5. )
  6. type KuaishouUserInfo struct {
  7. gmeta.Meta `orm:"table:platform_kuaishou_user_info"`
  8. Id int `json:"id" orm:"id,primary"`
  9. OpenId string `json:"open_id" orm:"open_id"`
  10. TalentId string `json:"talent_id" orm:"talent_id"`
  11. Code string `json:"code" orm:"code"`
  12. AccessToken string `json:"access_token" orm:"access_token"`
  13. RefreshToken string `json:"refresh_token" orm:"refresh_token"`
  14. NickName string `json:"nick_name" orm:"nick_name"`
  15. HeadUri string `json:"head_uri" orm:"head_uri"`
  16. Fan int `json:"fan" orm:"fan"`
  17. Expired bool `json:"expired" orm:"expired"`
  18. SaleNum30day int `json:"sale_num_30day" orm:"sale_num_30day"`
  19. SaleNumTotal int `json:"sale_num_total" orm:"sale_num_total"`
  20. CreateTime *gtime.Time `json:"create_time" orm:"create_time" ` // 创建时间
  21. UpdateTime *gtime.Time `json:"update_time" orm:"update_time" ` // 创建时间
  22. }