package rpc //获取任务信息 type TaskData struct { IsNew string } //任务信息结果 type TaskDataResp struct { Error_code int64 `json:"error_code"` Error_msg string `json:"error_msg"` Data []*TaskStruct `json:"data"` } //任务信息 type TaskStruct struct { Name string `json:"name"` Desc string `json:"desc"` PcHref string `json:"pcHref"` AppHref string `json:"appHref"` WxHref string `json:"wxHref"` Point int `json:"point"` Icon string `json:"icon"` Type string `json:"type"` Distinguish int `json:"distinguish"` // 0不用区分身份 1区分身份 }