LocalPrelinkList.go 988 B

1234567891011121314151617181920212223242526272829303132
  1. package http_model
  2. type LocalPreLinkListRequest 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 GetLocalPreLinkListData struct {
  13. TasklinkList []*LocalTasklinkinfo `json:"task_list"`
  14. Total string `json:"total"`
  15. }
  16. type LocalTasklinkinfo struct {
  17. Task *LocaLTaskInfo `json:"task_info"`
  18. DDl string `json:"ddl"` // 提交时间
  19. }
  20. func NewLocalPreLinkListRequest() *LocalPreLinkListRequest {
  21. return new(LocalPreLinkListRequest)
  22. }
  23. func NewLocalPreLinkListResponse() *CommonResponse {
  24. resp := new(CommonResponse)
  25. resp.Data = new(GetLocalPreLinkListData)
  26. return resp
  27. }