GetSecTaskList.go 5.5 KB

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