~~~[api]
post:/v4/Yunxin/getBroadcasMsgHistory
int:page=1#分页,默认第一页
int:limit=10#每页显示数量,默认10条
int:type=1#类型 1表示所有,2表示查询存离线的,3表示查询不存离线的。默认1
<<<
success
{
"code": 100000,
"msg": "",
"data": [
{
"expireTime": 1596358590765, // 离线状态下的有效期
"createTime": 1595753790765, // 创建时间
"broadcastId": 51064121304385, // 广播消息id
"isOffline": true, // 离线
"body": { // 广播消息内容
"title": "hahahah",
"content": "<p>hahahah<br/></p>",
"user_group": 1,
"uid": 0,
"send_time": 1595746743,
"expire_time": 1598338743,
"landing": 0,
"btn_txt": ""
},
"targetOs": [ // 目标客户端
"all"
]
},
{
"createTime": 1595753467835,
"broadcastId": 51064110970689,
"isOffline": false,
"body": {
"title": "广播",
"content": "<p>我是广播内容,大家好<br/></p>",
"user_group": 1,
"uid": 0,
"send_time": 1595741469,
"expire_time": 1598333469,
"landing": 4,
"btn_txt": "999"
},
"targetOs": [
"all"
]
}
]
}
<<<
error
{
"code": 400001,
"msg": "获取失败",
"data": []
}
~~~