Page History

Getnewmsglist

Last edited by 宋亚南

返回

获取新消息列表


URL: http://120.92.61.152:8080/Daren/moment/getNewMsgList.action?sid=10106339


请求方式: HTTP POST/GET


请求参数说明:

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

返回格式: JSON


返回格式样例:

{
  "errorMessage": "成功",
  "errorCode": "0",
  "data": [
    {
      "message": "测试新消息",
      "contentImage": "http://cnlive-yweb.ks3-cn-beijing.ksyun.com/82/wjj/image/2018/0323/1521790737936.jpg",
      "time": 1521874282,
      "contentTitle": "",
      "momentId":"xxxxx",
      "userIcon": "http://cnlive-yweb.ks3-cn-beijing.ksyun.com/images/headImg/2018/0305/1520231339117_small.jpg",
      "userName": "strive",
      "contentType": "comment"
    },
    {
      "message": "测试新消息",
      "contentImage": "",
      "time": 1521873976,
      "contentTitle": "",
      "momentId":"xxxxx",
      "userIcon": "https://y2.cnliveimg.com/mobile/images/mobilehead/2017/01/12/1484206616938_small.jpg",
      "userName": "哈咪哈咪哈",
      "contentType": "comment"
    }
  ]
}