data_accept.go 570 B

123456789101112131415161718192021
  1. package http_model
  2. type AcceptDataRequest struct {
  3. Payment float64 `json:"payment"` //招募策略id
  4. TaskIds string `json:"task_id_list"` //任务id列表
  5. ProjectId string `json:"project_id"` //项目id
  6. }
  7. type AcceptDataData struct {
  8. TaskIds []string `json:"taskIds"` //任务id列表
  9. IsEnd int `json:"is_end"` // 项目是否结案
  10. }
  11. func NewAcceptDataRequest() *AcceptDataRequest {
  12. return new(AcceptDataRequest)
  13. }
  14. func NewAcceptDataResponse() *CommonResponse {
  15. resp := new(CommonResponse)
  16. resp.Data = new(AcceptDataData)
  17. return resp
  18. }