data_accept.go 609 B

12345678910111213141516171819202122
  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. IsSpecial int `json:"is_special"`
  7. }
  8. type AcceptDataData struct {
  9. TaskIds []string `json:"taskIds"` //任务id列表
  10. IsEnd int `json:"is_end"` // 项目是否结案
  11. }
  12. func NewAcceptDataRequest() *AcceptDataRequest {
  13. return new(AcceptDataRequest)
  14. }
  15. func NewAcceptDataResponse() *CommonResponse {
  16. resp := new(CommonResponse)
  17. resp.Data = new(AcceptDataData)
  18. return resp
  19. }