local_update_param.go 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package vo
  2. type LocalUpdateParam struct {
  3. EnterpriseId string `json:"enterprise_id"`
  4. SubAccountId int64 `json:"sub_account_id"`
  5. LocalID string `json:"local_id"`
  6. StoreId int64 `json:"store_id"`
  7. TeamBuyingId int64 `json:"team_buying_id"`
  8. ServiceChargeRate float64 `json:"service_charge_rate"`
  9. PromoteBody int64 `json:"promote_body"` // 推广主体(1门店 2团购)
  10. //LocalType int64 `json:"local_type"` // 项目类型,1代表全流程项目,2代表专项项目
  11. Donate int64 `json:"donate"` // 赠送达人套餐(1有赠送 2无赠送)
  12. LocalStatus int64 `json:"local_status"` // 项目状态,1-10分别代表创建中、待审核、审核通过、招募中、招募完毕、待支付、已支付、失效、执行中、已结案
  13. LocalName string `json:"local_name"` // 项目名称(任务标题)
  14. TalentType string `json:"talent_type"` // 达人类型(,分隔)
  15. RecruitDdl string `json:"recruit_ddl"` // 招募截止时间
  16. RecruitStrategys []CreateLocalRecruitStrategy `json:"recruit_strategys"` // 招募策略
  17. TaskForm int64 `json:"task_form"` // 项目形式,1-2分别代表线下探店,素材分发
  18. ContentType int64 `json:"content_type"` // 内容形式,1代表图文,2代表视频
  19. TaskDetail string `json:"task_detail"` // 项目详情
  20. Tools string `json:"tools"` // 工具选择 1邀约招募 2结算账单 3样品物流 4审稿工具 5作品审查 6数据巡检(,分隔)
  21. LocalBrief []*LocalBriefInfo `json:"local_brief"`
  22. LocalMaterial []*LocalMaterialInfo `json:"local_material"`
  23. }
  24. type LocalBriefInfo struct {
  25. FileUrl string `json:"file_url"`
  26. FileUid string `json:"file_uid"`
  27. Name string `json:"name"`
  28. }
  29. type LocalMaterialInfo struct {
  30. FileUrl string `json:"file_url"`
  31. FileUid string `json:"file_uid"`
  32. Name string `json:"name"`
  33. }
  34. // 招募策略
  35. type CreateLocalRecruitStrategy struct {
  36. StrategyID int64 `json:"strategy_id"` // 策略id
  37. FeeForm int64 `json:"fee_form"` // 稿费形式,1-3分别代表无费置换、一口价、自报价
  38. FollowersLow int64 `json:"followers_low"` // 达人粉丝数下限
  39. FollowersUp int64 `json:"followers_up"` // 达人粉丝数上限
  40. RecruitNumber int64 `json:"recruit_number"` // 招募数量
  41. Offer float64 `json:"offer"` // 报价
  42. ServiceCharge float64 `json:"service_charge"` // 服务费
  43. }