getgoodstalentrequest.go 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package http_model
  2. type GetGoodsTalentRequest 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. SalesRange *string `json:"sales_range,omitempty"`
  8. Platform *int `json:"platform,omitempty"`
  9. Productcategory *string `json:"productcategory,omitempty"`
  10. TalentName string `json:"talent_name,omitempty"`
  11. EnterpriseId string `json:"enterprise_id"`
  12. }
  13. type GetGoodsTalentListData struct {
  14. TalentList []*GoodsTalentInfo `json:"talent_list"`
  15. Total string `json:"total"`
  16. }
  17. type GoodsTalentInfo struct {
  18. TalentId string `json:"talent_id"`
  19. Nickname string `json:"nickname"`
  20. City string `json:"city"`
  21. HeadUrl string `json:"head_url"`
  22. FansNum int `json:"fans_num"`
  23. ThirtySales int `json:"thirty_sales"`
  24. AccSales int `json:"acc_sales"`
  25. ActualSales int `json:"actual_sales"`
  26. AccCoopTime int `json:"acc_coop_time"`
  27. FirCoopFrom string `json:"fir_coop_from"`
  28. }
  29. func NewGetGoodsTalentRequest() *GetGoodsTalentRequest {
  30. return new(GetGoodsTalentRequest)
  31. }
  32. func NewGetGoodsTalentResponse() *CommonResponse {
  33. resp := new(CommonResponse)
  34. resp.Data = new(GetGoodsTalentListData)
  35. return resp
  36. }