getlocallifetalentrequest.go 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package http_model
  2. type GetLocallifeTalentRequest struct {
  3. PageSize int `json:"page_size"`
  4. PageNum int `json:"page_num"`
  5. SortField []string `json:"sort_field,omitempty"`
  6. SortOrder []string `json:"sort_order,omitempty"` //粉丝数,实际带货销量,近30天销量,累计合作次数
  7. Platform *int `json:"platform,omitempty"`
  8. TalentName string `json:"talent_name"`
  9. EnterpriseId string `json:"enterprise_id"`
  10. Area string `json:"area"`
  11. }
  12. type GetLocallifeTalentListData struct {
  13. TalentList []*LocallifeTalentInfo `json:"talent_list"`
  14. Total string `json:"total"`
  15. }
  16. type LocallifeTalentInfo struct {
  17. TalentId string `json:"talent_id"`
  18. Nickname string `json:"nickname"`
  19. City string `json:"city"`
  20. HeadUrl string `json:"head_url"`
  21. FansNum int `json:"fans_num"`
  22. AvgLikes int `json:"avg_likes"`
  23. AvgCollected int `json:"avg_collected"`
  24. AvgComments int `json:"avg_comments"`
  25. AccPlay int `json:"acc_play"`
  26. AccInteract int `json:"acc_interact"`
  27. AccCoopTime int `json:"acc_coop_time"`
  28. FirCoopFrom string `json:"fir_coop_from"`
  29. SType int `json:"stype"`
  30. PlatformUserid int `json:"platform_userid"`
  31. }
  32. func NewGetLocallifeTalentRequest() *GetLocallifeTalentRequest {
  33. return new(GetLocallifeTalentRequest)
  34. }
  35. func NewGetLocallifeTalentResponse() *CommonResponse {
  36. resp := new(CommonResponse)
  37. resp.Data = new(GetLocallifeTalentListData)
  38. return resp
  39. }