add_to_list.go 1.2 KB

1234567891011121314151617181920212223
  1. package http_model
  2. type AddToListRequest struct {
  3. ProjectId string `json:"project_id"` // 待加入商单的种草任务ID
  4. ProjectType int `json:"project_type"` // 种草任务类型,1为公开,2为定向
  5. ProjectName string `json:"project_name"` // 种草任务名称
  6. ProjectPlatform int `json:"project_platform"` // 种草任务平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
  7. ProjectForm int `json:"project_form"` // 任务形式,1-3分别代表商品寄拍、素材分发、虚拟产品测评
  8. ContentType int `json:"content_type"` // 内容形式,1代表图文,2代表视频
  9. ShareCode string `json:"share_code"` // 分享码URL
  10. EnterpriseId string `json:"enterprise_id"` // 商家ID
  11. SupplierId int `json:"supplier_id"` // 服务商ID
  12. SubAccountId int `json:"sub_account_id"` // 子账号ID
  13. OperatorType int `json:"operator_type"` // 账号类型,1为主账号,2为子账号
  14. }
  15. func NewAddToListRequest() *AddToListRequest {
  16. return new(AddToListRequest)
  17. }
  18. func NewAddToListResponse() *CommonResponse {
  19. resp := new(CommonResponse)
  20. return resp
  21. }