getlocallifetalentrequest.go 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. ThirtySales string `json:"thirty_sales"`
  22. AccSales string `json:"acc_sales"`
  23. ActualSales string `json:"actual_sales"`
  24. AccCoopTime int `json:"acc_coop_time"`
  25. FirCoopFrom string `json:"fir_coop_from"`
  26. }
  27. func NewGetLocallifeTalentRequest() *GetLocallifeTalentRequest {
  28. return new(GetLocallifeTalentRequest)
  29. }
  30. func NewGetLocallifeTalentResponse() *CommonResponse {
  31. resp := new(CommonResponse)
  32. resp.Data = new(GetLocallifeTalentListData)
  33. return resp
  34. }