talent_data.go 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. package http_model
  2. type TalentDataRequest struct {
  3. PlatformUserId int `json:"platform_user_id"` // 平台用户ID
  4. }
  5. type TalentData struct {
  6. Fans string `json:"fans"` // 粉丝数
  7. VoteNum int `json:"vote_num"` // 点赞数
  8. CollectNum int `json:"collect_num"` // 收藏数
  9. CommitNum int `json:"commit_num"` // 评论数
  10. Sale30Days int `json:"sale_30_days"` // 30天销量
  11. Sale60Days int `json:"sale_60_days"` // 60天销量
  12. Sale90Days int `json:"sale_90_days"` // 90天销量
  13. HeadUrl string `json:"head_url"` // 头像
  14. Nickname string `json:"nickname"` // 昵称
  15. City string `json:"city"` // 城市
  16. Skill string `json:"skill"` // 擅长领域
  17. Gender string `json:"gender"` // 性别
  18. WXNumber string `json:"wx_number"` // 微信号
  19. Phone string `json:"phone"` // 手机号
  20. }
  21. func NewTalentDataRequest() *TalentDataRequest {
  22. return new(TalentDataRequest)
  23. }
  24. func NewTalentDataResponse() *CommonResponse {
  25. resp := new(CommonResponse)
  26. resp.Data = new(TalentData)
  27. return resp
  28. }