local_create_param.go 2.6 KB

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