getlocallifetalentrequest.go 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 *string `json:"platform,omitempty"`
  8. TalentName string `json:"talent_name"`
  9. EnterpriseId string `json:"enterprise_id"`
  10. }
  11. type GetLocallifeTalentListData struct {
  12. TalentList []*LocallifeTalentInfo `json:"talent_list"`
  13. Total string `json:"total"`
  14. }
  15. type LocallifeTalentInfo struct {
  16. TalentId string `json:"talent_id"`
  17. Nickname string `json:"nickname"`
  18. City string `json:"city"`
  19. HeadUrl string `json:"head_url"`
  20. FansNum int `json:"fans_num"`
  21. AvgLikes int `json:"avg_likes"`
  22. AvgCollected int `json:"avg_collected"`
  23. AvgComments int `json:"avg_comments"`
  24. AccPlay int `json:"acc_play"`
  25. AccInteract int `json:"acc_interact"`
  26. AccCoopTime int `json:"acc_coop_time"`
  27. FirCoopFrom string `json:"fir_coop_from"`
  28. SType int `json:"stype"`
  29. }
  30. func NewGetLocallifeTalentRequest() *GetLocallifeTalentRequest {
  31. return new(GetLocallifeTalentRequest)
  32. }
  33. func NewGetLocallifeTalentResponse() *CommonResponse {
  34. resp := new(CommonResponse)
  35. resp.Data = new(GetLocallifeTalentListData)
  36. return resp
  37. }