special_local_list.go 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package http_model
  2. type SpecialLocalListRequest struct {
  3. PageSize int32 `json:"page_size"`
  4. PageNum int32 `json:"page"`
  5. SupplierId int `json:"supplier_id"` // 服务商ID
  6. LocalPlatform int `json:"local_platform"` // 本地生活平台
  7. TaskForm int `json:"task_form"` // 任务形式,1-2分别代表线下探店,素材分发
  8. ContentType int `json:"content_type"` // 内容形式,1代表图文,2代表视频
  9. AddToListStatus int `json:"add_to_list_status"` // 加入商单状态,1已加
  10. LocalId string `json:"local_id"` // 本地生活ID
  11. LocalName string `json:"local_name"` // 本地生活标题
  12. TaskStatus int `json:"task_status"` // 任务状态
  13. }
  14. type SpecialLocalPreview struct {
  15. LocalId string `json:"local_id"` // 本地生活ID
  16. SLocalId int `json:"s_local_id"` // 服务商本地生活ID
  17. EnterpriseId string `json:"enterprise_id"` // 商家ID
  18. LocalName string `json:"local_name"` // 本地生活名称
  19. TaskStatus int `json:"task_status"` // 本地生活状态
  20. LocalPlatform int `json:"local_platform"` // 本地生活平台
  21. TaskForm int `json:"task_form"` // 本地生活形式
  22. LocalType int `json:"local_type"` // 本地生活类型
  23. LocalContentType int `json:"local_content_type"` // 本地生活内容形式
  24. RecruitStrategy []*EasyRecruitStrategy `json:"recruit_strategy"` // 招募策略
  25. EstimatedCost float64 `json:"estimated_cost"` // 任务总预算
  26. ServiceChargeRate float64 `json:"service_charge_rate"` // 服务费率
  27. ServiceCharge float64 `json:"service_charge"` // 任务总服务费
  28. RecruitDdl string `json:"recruit_ddl"` // 招募截至时间
  29. ProductPhotoUrl string `json:"product_photo_url"` // 门店主图URL
  30. ProductPhotoSymbol int64 `json:"product_photo_symbol"` // 门店标志位
  31. ProductPhotoUid string `json:"product_photo_uid"` // 门店uid
  32. StoreName string `json:"store_name"` // 门店名称
  33. ProductPrice float64 `json:"product_price"` // 商品售价
  34. StoreId int `json:"store_id"` // 门店ID
  35. SLocalStatus int `json:"s_local_status"` // 服务商本地生活任务状态,1待确认,2已确认,3已拒绝
  36. Tools string `json:"tools"` // 工具选择
  37. AddToListStatus int `json:"add_to_list_status"` // 加入商单状态,1已加入,2未加入
  38. CreateTime string `json:"create_time"` // 邀请时间
  39. }
  40. type SpecialLocalListData struct {
  41. SpecialLocalPreview []*SpecialLocalPreview `json:"special_local_pre_view"`
  42. Total int64 `json:"total"`
  43. }
  44. func NewSpecialLocalListRequest() *SpecialLocalListRequest {
  45. return new(SpecialLocalListRequest)
  46. }
  47. func NewSpecialLocalListResponse() *CommonResponse {
  48. resp := new(CommonResponse)
  49. resp.Data = new(SpecialLocalListData)
  50. return resp
  51. }