talent_local_list.go 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package http_model
  2. type TalentLocalListRequest struct {
  3. PageSize int64 `json:"page_size"`
  4. PageNum int64 `json:"page_num"`
  5. PlatformUserId int `json:"platform_user_id"` // 平台用户ID
  6. Nickname string `json:"nickname"` // 昵称
  7. }
  8. type TalentLocalListData struct {
  9. TalentLocalDataListInfo []*TalentLocalData `json:"talent_local_data_list_info"`
  10. Total int64 `json:"total"`
  11. }
  12. type TalentLocalData struct {
  13. // 任务信息
  14. LocalName string `json:"local_name"` // 种草任务名称
  15. StoreMainPhotoUrl string `json:"store_main_photo_url"` // 门店主图URL
  16. StoreMainPhotoSymbol int64 `json:"store_main_photo_symbol"` // 标志位
  17. StoreMainPhotoUid string `json:"store_main_photo_uid"` // uid
  18. StoreName string `json:"store_name"` // 门店名称
  19. StoreId int `json:"store_id"` // 门店ID
  20. ReadNum int `json:"read_num"` // 阅读数
  21. VoteNum int `json:"vote_num"` // 点赞数
  22. CollectNum int `json:"collect_num"` // 收藏数
  23. CommitNum int `json:"commit_num"` // 评论数
  24. }
  25. func NewTalentLocalListRequest() *TalentLocalListRequest {
  26. return new(TalentLocalListRequest)
  27. }
  28. func NewTalentLocalListResponse() *CommonResponse {
  29. resp := new(CommonResponse)
  30. resp.Data = new(TalentLocalListData)
  31. return resp
  32. }