LocalPrelinkList.go 838 B

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