企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
>[warning] ### 更新说明 > **v002版新增 type 参数** > **v002版新增 status 参数** > **v005版 page 改为必要参数** > **v005版 status 改为必要参数** +++ post:v001/Messages/msgList *int:udid#用户ID *varchar:token#Token *int:type#消息类型 *int:page#页码 *int:status#消息状态//0:全部10:未读20:已读 <<< 请求成功 { "data":{ "list": [ { "m_id": 21, "u_nickname": "Rob Bourdon", "u_avatar": "https://imgsa.baidu.com/baike/s%3D235/sign=6ffca1d0b54543a9f11bfdcf2b168a7b/63d9f2d3572c11df7509c007612762d0f703c23e.jpg", "m_createtime": "2017-06-09 18:22:00", "m_title": "预播通知", "m_status": 10, "m_type": 10 } ], "num": 2, "page": 1 }, "code": 200, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "type": "10", "status": "10" } } <<< 登录失效 { "data": { "message": "请先重新登录" }, "code": 300, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "type": "10", "status": "10" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "type": "10", "status": "10" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | list | 列表 | | | num | 总数 | | | page | 页码 | | #### list[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | m_id | 消息ID | | | u_nickname | 接收人昵称 | | | u_avatar | 接收人头像 | | | m_createtime | 发送时间 | | | m_title | 标题 | | | m_status | 读取状态 | | | m_type | 消息类型 | | #### 消息类型m_type说明 | 状态值 | 描述 | 备注 | | --- | --- | --- | | 10 | 预播消息 | 关注 | | 20 | 红包中奖 | 红包 | | 30 | 实物中奖 | 实物 | <img src="http://star.img.livestaring.com/Document/Messages/msgList.png">