PreLinkList.go 928 B

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