Page History

Gettasks

Last edited by 李凯

返回

获取任务列表


URL: http://apiwjjtest.cnlive.com/Daren/integral/getTasks.action


请求方式: HTTP GET


请求参数说明:

参数名 参数类型 必选 参数说明
sid String true 用户sid

返回格式: JSON


返回格式样例:

{
  "data": {
    "dailyTask": [
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/share_video.png",
        "score": 100,
        "status": false,
        "taskId": "share_video",
        "taskType": "dailyTask",
        "times": 10,
        "title": "分享目击者视频",
        "totalCount": 10,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/publish_comment.png",
        "score": 100,
        "status": true,
        "taskId": "publish_comment",
        "taskType": "dailyTask",
        "times": 0,
        "title": "发布评论",
        "totalCount": 10,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/read_article.png",
        "score": 100,
        "status": true,
        "taskId": "read_article",
        "taskType": "dailyTask",
        "times": 0,
        "title": "啃篇文档",
        "totalCount": 10,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/listen_novel.png",
        "score": 200,
        "status": true,
        "taskId": "listen_novel",
        "taskType": "dailyTask",
        "times": 0,
        "title": "听本小说",
        "totalCount": 10,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/watch_video.png",
        "score": 100,
        "status": true,
        "taskId": "watch_video",
        "taskType": "dailyTask",
        "times": 0,
        "title": "观看视频",
        "totalCount": 10,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/share_article.png",
        "score": 100,
        "status": true,
        "taskId": "share_article",
        "taskType": "dailyTask",
        "times": 0,
        "title": "分享文章内容",
        "totalCount": 10,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/check_in.png",
        "score": 1000,
        "status": true,
        "taskId": "check_in",
        "taskType": "dailyTask",
        "times": 0,
        "title": "签到",
        "totalCount": 7,
        "url": ""
      }
    ],
    "firstTask": [
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/common.png",
        "score": 200,
        "status": true,
        "taskId": "update_face",
        "taskType": "firstTask",
        "times": 0,
        "title": "更新头像",
        "totalCount": 1,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/common.png",
        "score": 200,
        "status": false,
        "taskId": "update_nick",
        "taskType": "firstTask",
        "times": 1,
        "title": "换个昵称",
        "totalCount": 1,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/publish_witness.png",
        "score": 500,
        "status": true,
        "taskId": "publish_witness",
        "taskType": "firstTask",
        "times": 0,
        "title": "发条目击者",
        "totalCount": 1,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/add_friend.png",
        "score": 300,
        "status": true,
        "taskId": "add_friend",
        "taskType": "firstTask",
        "times": 0,
        "title": "添加好友",
        "totalCount": 1,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/publish_comment.png",
        "score": 500,
        "status": true,
        "taskId": "publish_moment",
        "taskType": "firstTask",
        "times": 0,
        "title": "发条生活圈",
        "totalCount": 1,
        "url": ""
      },
      {
        "icon": "https://wjj.ys1.cnliveimg.com/769/integral/common.png",
        "score": 200,
        "status": true,
        "taskId": "customer_feedback",
        "taskType": "firstTask",
        "times": 0,
        "title": "客服留言",
        "totalCount": 1,
        "url": ""
      }
    ],
    "integral": 5000
  },
  "errorCode": "0",
  "errorMessage": "成功"
}