GetSecTaskList.go 4.0 KB

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