GetSecTaskList.go 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package http_model
  2. import "time"
  3. type GetSecTaskListRequest struct {
  4. PageSize int64 `json:"page_size"`
  5. PageNum int64 `json:"page_num"`
  6. SelectionId string `json:"selection_id"`
  7. SecTaskStatus int `json:"sec_task_status"`
  8. SearchValue string `json:"search_value"`
  9. Type int `json:"type"` // 查询类型,1、2、3分别表示确定达人查询、发货管理查询、结算管理查询
  10. TaskStage int `json:"sec_task_stage"`
  11. FreeStage int `json:"free_stage"` // 免费领样阶段,1-5分别代表已申请、已拒绝、待发货、已发货、已收货
  12. RewardStage int `json:"reward_stage"` // 悬赏阶段,1-2分别代表待结算(管理后台设置)、已结算(小程序端设置)
  13. }
  14. type GetSecTaskListData struct {
  15. SecTaskList []*SecTaskInfo `json:"sec_task_list"`
  16. Total string `json:"total"`
  17. }
  18. type SecTaskInfo struct {
  19. SecTaskId string `json:"sec_task_id"` // 带货任务ID
  20. PlatformNickname string `json:"platform_nickname"` // 帐号昵称
  21. TalentId string `json:"talent_id"` // 达人ID
  22. FansCount string `json:"fans_count"` // 粉丝数
  23. HomePageCaptureUrl string `json:"home_page_capture_url"` // 主页截图链接
  24. HomePageUrl string `json:"home_page_url"` // 主页链接
  25. RegionCode int `json:"region_code"` // 区域编码
  26. DetailAddr string `json:"detail_addr"` // 物流信息
  27. CompanyName string `json:"company_name"` // 物流公司
  28. LogisticsNumber string `json:"logistics_number"` // 物流单号
  29. ExplorestoreStarttime time.Time `json:"explorestore_starttime"` // 线下探店-探店开始时间
  30. ExplorestoreEndtime time.Time `json:"explorestore_endtime"` // 线下探店-探店结束时间
  31. ExplorestorePeriod string `json:"explorestore_period"` // 线下探店-探店持续时间
  32. DataScreenshot string `json:"data_screenshot"` // 数据截图
  33. AssignmentLink string `json:"assignment_link"` // 作业链接
  34. ReturnMoney string `json:"return_money"` // 返现
  35. TaskReward string `json:"task_reward"` // 悬赏金
  36. IsPayReward int `json:"is_pay_reward"` // 是否给悬赏金
  37. IsPayPayment int `json:"is_pay_payment"` // 是否返现
  38. CreateDate string `json:"create_date"` // 创建时间
  39. SelectDate string `json:"select_date"` // 反选时间
  40. DeliveryDate string `json:"delivery_date"` // 发货时间
  41. CompleteDate string `json:"complete_date"` // 结算时间
  42. SignedTime string `json:"signed_time"` // 快递签收时间
  43. SaleNum int `json:"sale_num"` // 30天橱窗销量
  44. FreeStrategyId int `json:"free_strategy_id"` // 免费领样策略id
  45. ProductId int `json:"product_id"` // 商品ID
  46. FreeStage int `json:"free_stage"` // 免费领样阶段,1-5分别代表已申请、已拒绝、待发货、已发货、已收货
  47. RewardStage int `json:"reward_stage"` // 悬赏阶段,1-2分别代表待结算(管理后台设置)、已结算(小程序端设置)
  48. }
  49. func NewGetSecTaskListRequest() *GetSecTaskListRequest {
  50. return new(GetSecTaskListRequest)
  51. }
  52. func NewGetSecTaskListResponse() *CommonResponse {
  53. resp := new(CommonResponse)
  54. resp.Data = new(GetSecTaskListData)
  55. return resp
  56. }