show_task_progress.go 1.5 KB

123456789101112131415161718192021222324252627282930
  1. package http_model
  2. import "youngee_b_api/model/gorm_model"
  3. type ShowTaskProgressData struct {
  4. TaskId string `json:"task_id"` // 种草子任务ID
  5. ProjectId string `json:"project_id"` // 种草任务ID
  6. TalentId string `json:"talent_id"` // 达人ID
  7. TalentHeadUrl string `json:"talent_head_url"` // 达人头像url
  8. TalentPlatformAccountId string `json:"talent_platform_account_id"` // 达人平台账号
  9. TalentLocation string `json:"talent_location"` // 达人地域
  10. ServiceCharge float64 `json:"service_charge"` // 服务费
  11. DraftFee float64 `json:"draft_fee"` // 达人稿费
  12. TaskStage int `json:"task_stage"` // 任务状态
  13. TaskLogs []*gorm_model.YounggeeTaskLog `json:"task_logs"` // 任务日志
  14. }
  15. type ShowTaskProgressRequest struct {
  16. TaskId string `json:"task_id"` // 种草子任务ID
  17. }
  18. func NewShowTaskProgressRequest() *ShowTaskProgressRequest {
  19. return new(ShowTaskProgressRequest)
  20. }
  21. func NewShowTaskProgressResponse() *CommonResponse {
  22. resp := new(CommonResponse)
  23. resp.Data = new(ShowTaskProgressData)
  24. return resp
  25. }