add_to_list.go 1.1 KB

12345678910111213141516171819202122
  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. EnterpriseId string `json:"enterprise_id"` // 商家ID
  10. SupplierId int `json:"supplier_id"` // 服务商ID
  11. SubAccountId int `json:"sub_account_id"` // 子账号ID
  12. OperatorType int `json:"operator_type"` // 账号类型,1为主账号,2为子账号
  13. }
  14. func NewAddToListRequest() *AddToListRequest {
  15. return new(AddToListRequest)
  16. }
  17. func NewAddToListResponse() *CommonResponse {
  18. resp := new(CommonResponse)
  19. return resp
  20. }