GetSecTaskList.go 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. TalentAvatar string `json:"talent_avatar"` // 达人头像
  23. KuaiShouUserId string `json:"kuai_shou_user_id"` // 快手账号
  24. KuaiShouUserGender string `json:"kuai_shou_user_gender"` // 快手用户性别
  25. FansCount string `json:"fans_count"` // 粉丝数
  26. HomePageCaptureUrl string `json:"home_page_capture_url"` // 主页截图链接
  27. HomePageUrl string `json:"home_page_url"` // 主页链接
  28. RegionCode int `json:"region_code"` // 区域编码
  29. DetailAddr string `json:"detail_addr"` // 物流信息
  30. CompanyName string `json:"company_name"` // 物流公司
  31. LogisticsNumber string `json:"logistics_number"` // 物流单号
  32. ExplorestoreStarttime time.Time `json:"explorestore_starttime"` // 线下探店-探店开始时间
  33. ExplorestoreEndtime time.Time `json:"explorestore_endtime"` // 线下探店-探店结束时间
  34. ExplorestorePeriod string `json:"explorestore_period"` // 线下探店-探店持续时间
  35. DataScreenshot string `json:"data_screenshot"` // 数据截图
  36. AssignmentLink string `json:"assignment_link"` // 作业链接
  37. ReturnMoney string `json:"return_money"` // 返现
  38. TaskReward string `json:"task_reward"` // 悬赏金
  39. IsPayReward int `json:"is_pay_reward"` // 是否给悬赏金
  40. IsPayPayment int `json:"is_pay_payment"` // 是否返现
  41. CreateDate string `json:"create_date"` // 创建时间
  42. SelectDate string `json:"select_date"` // 反选时间
  43. DeliveryDate string `json:"delivery_date"` // 发货时间
  44. CompleteDate string `json:"complete_date"` // 结算时间
  45. SignedTime string `json:"signed_time"` // 快递签收时间
  46. SaleNum int `json:"sale_num"` // 30天橱窗销量
  47. FreeStrategyId int `json:"free_strategy_id"` // 免费领样策略id
  48. ProductId int `json:"product_id"` // 商品ID
  49. FreeStage int `json:"free_stage"` // 免费领样阶段,1-5分别代表已申请、已拒绝、待发货、已发货、已收货
  50. RewardStage int `json:"reward_stage"` // 悬赏阶段,1-2分别代表待结算(管理后台设置)、已结算(小程序端设置)
  51. }
  52. func NewGetSecTaskListRequest() *GetSecTaskListRequest {
  53. return new(GetSecTaskListRequest)
  54. }
  55. func NewGetSecTaskListResponse() *CommonResponse {
  56. resp := new(CommonResponse)
  57. resp.Data = new(GetSecTaskListData)
  58. return resp
  59. }