123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package http_model
- type SpecialLocalListRequest struct {
- PageSize int32 `json:"page_size"`
- PageNum int32 `json:"page_num"`
- SupplierId int `json:"supplier_id"` // 服务商ID
- LocalPlatform int `json:"local_platform"` // 本地生活平台
- TaskForm int `json:"task_form"` // 任务形式,1-2分别代表线下探店,素材分发
- ContentType int `json:"content_type"` // 内容形式,1代表图文,2代表视频
- AddToListStatus int `json:"add_to_list_status"` // 加入商单状态,1已加
- LocalId string `json:"local_id"` // 本地生活ID
- LocalName string `json:"local_name"` // 本地生活标题
- TaskStatus int `json:"task_status"` // 任务状态
- }
- type SpecialLocalPreview struct {
- LocalId string `json:"local_id"` // 本地生活ID
- LocalName string `json:"local_name"` // 本地生活名称
- TaskStatus int `json:"task_status"` // 本地生活状态
- LocalPlatform int `json:"local_platform"` // 本地生活平台
- TaskForm int `json:"task_form"` // 本地生活形式
- LocalType int `json:"local_type"` // 本地生活类型
- LocalContentType int `json:"local_content_type"` // 本地生活内容形式
- RecruitStrategy []*EasyRecruitStrategy `json:"recruit_strategy"` // 招募策略
- EstimatedCost float64 `json:"estimated_cost"` // 任务总预算
- ServiceChargeRate float64 `json:"service_charge_rate"` // 服务费率
- ServiceCharge float64 `json:"service_charge"` // 任务总服务费
- RecruitDdl string `json:"recruit_ddl"` // 招募截至时间
- ProductPhotoUrl string `json:"product_photo_url"` // 门店主图URL
- ProductPhotoSymbol int64 `json:"product_photo_symbol"` // 门店标志位
- ProductPhotoUid string `json:"product_photo_uid"` // 门店uid
- StoreName string `json:"store_name"` // 门店名称
- ProductPrice float64 `json:"product_price"` // 商品售价
- StoreId int `json:"store_id"` // 门店ID
- SLocalStatus int `json:"s_local_status"` // 服务商本地生活任务状态,1待确认,2已确认,3已拒绝
- Tools string `json:"tools"` // 工具选择
- }
- type SpecialLocalListData struct {
- SpecialLocalPreview []*SpecialLocalPreview `json:"special_local_pre_view"`
- Total int64 `json:"total"`
- }
- func NewSpecialLocalListRequest() *SpecialLocalListRequest {
- return new(SpecialLocalListRequest)
- }
- func NewSpecialLocalListResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(SpecialLocalListData)
- return resp
- }
|