PreLinkList.go 778 B

12345678910111213141516171819202122232425262728293031
  1. package http_model
  2. import "time"
  3. type PreLinkListRequest struct {
  4. PageSize int `json:"page_size"`
  5. PageNum int `json:"page_num"`
  6. ProjectId string `json:"project_id"` // 项目ID
  7. LinkStatus string `json:"link_status"` // 链接状态,11待传链接
  8. EnterpriseId string `json:"enterprise_id"`
  9. }
  10. type GetprelinkListData struct {
  11. TasklinkList []*Tasklinkinfo `json:"task_list"`
  12. Total string `json:"total"`
  13. }
  14. type Tasklinkinfo struct {
  15. Task *TaskInfo `json:"task_info"`
  16. DDl time.Time `json:"ddl"` // 提交时间
  17. }
  18. func NewPreLinkListRequest() *PreLinkListRequest {
  19. return new(PreLinkListRequest)
  20. }
  21. func NewPreLinkListResponse() *CommonResponse {
  22. resp := new(CommonResponse)
  23. resp.Data = new(GetprelinkListData)
  24. return resp
  25. }