getprojecttalentrequest.go 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package http_model
  2. type GetProjectTalentRequest 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 GetProjectTalentListData struct {
  12. TalentList []*ProjectTalentInfo `json:"talent_list"`
  13. Total string `json:"total"`
  14. }
  15. type ProjectTalentInfo 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. //ThirtySales string `json:"thirty_sales"`
  22. //AccSales string `json:"acc_sales"`
  23. //ActualSales string `json:"actual_sales"`
  24. AvgLikes int `json:"avg_likes"`
  25. AvgCollected int `json:"avg_collected"`
  26. AvgComments int `json:"avg_comments"`
  27. AccPlay int `json:"acc_play"`
  28. AccInteract int `json:"acc_interact"`
  29. AccCoopTime int `json:"acc_coop_time"`
  30. FirCoopFrom string `json:"fir_coop_from"`
  31. Stype int `json:"stype"`
  32. }
  33. func NewGetProjectTalentRequest() *GetProjectTalentRequest {
  34. return new(GetProjectTalentRequest)
  35. }
  36. func NewGetProjectTalentResponse() *CommonResponse {
  37. resp := new(CommonResponse)
  38. resp.Data = new(GetProjectTalentListData)
  39. return resp
  40. }