task.go 656 B

1234567891011121314151617181920212223242526
  1. package rpc
  2. //获取任务信息
  3. type TaskData struct {
  4. IsNew string
  5. }
  6. //任务信息结果
  7. type TaskDataResp struct {
  8. Error_code int64 `json:"error_code"`
  9. Error_msg string `json:"error_msg"`
  10. Data []*TaskStruct `json:"data"`
  11. }
  12. //任务信息
  13. type TaskStruct struct {
  14. Name string `json:"name"`
  15. Desc string `json:"desc"`
  16. PcHref string `json:"pcHref"`
  17. AppHref string `json:"appHref"`
  18. WxHref string `json:"wxHref"`
  19. Point int `json:"point"`
  20. Icon string `json:"icon"`
  21. Type string `json:"type"`
  22. Distinguish int `json:"distinguish"` // 0不用区分身份 1区分身份
  23. }