GetSecTaskList.go 4.4 KB

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