data_accept.go 775 B

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