Sfoglia il codice sorgente

Merge branch 'master' of https://jygit.jydev.jianyu360.cn/moapp/jybase

wangchuanjin 1 anno fa
parent
commit
8eb41c7bdd
1 ha cambiato i file con 26 aggiunte e 0 eliminazioni
  1. 26 0
      rpc/task.go

+ 26 - 0
rpc/task.go

@@ -0,0 +1,26 @@
+package rpc
+
+//获取任务信息
+type TaskData struct {
+	IsNew bool
+}
+
+//任务信息结果
+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区分身份
+}