12345678910111213141516171819202122232425262728293031323334353637 |
- package http_model
- import "time"
- type TaskDatalistRequest struct {
- PageSize int `json:"page_size"`
- PageNum int `json:"page_num"`
- ProjectId string `json:"project_id"` // 项目ID
- DataStatus string `json:"data_status"` // 链接状态,14
- }
- type GetTaskDatalistData struct {
- TaskDatalist []*TaskDatainfo `json:"task_list"`
- Total string `json:"total"`
- }
- type TaskDatainfo struct {
- Task *TaskInfo `json:"task_info"`
- SubmitAt time.Time `json:"submit_at"` // 提交时间
- AgreeAt time.Time `json:"agree_at"`
- DataId int `json:"data_id"` //初稿ID
- PhotoUrl string `json:"photo_url"`
- PlayNumber int `json:"play_number"`
- LikeNumber int `json:"like_number"`
- CommentNumber int `json:"comment_number"`
- CollectNumber int `json:"collect_number"`
- }
- func NewTaskDatalistRequest() *TaskDatalistRequest {
- return new(TaskDatalistRequest)
- }
- func NewTaskDatalistResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(GetSketchTaskListData)
- return resp
- }
|