link_accept.go 402 B

123456789101112131415161718
  1. package http_model
  2. type AcceptLinkRequest struct {
  3. TaskIds string `json:"task_id_list"` //任务id列表
  4. }
  5. type AcceptLinkData struct {
  6. TaskIds []int `json:"task_id_list"` //任务id列表
  7. }
  8. func NewAcceptLinkRequest() *AcceptLinkRequest {
  9. return new(AcceptLinkRequest)
  10. }
  11. func NewAcceptLinkResponse() *CommonResponse {
  12. resp := new(CommonResponse)
  13. resp.Data = new(AcceptLinkData)
  14. return resp
  15. }