POST xuner/soc/Social/getNotificationList
请求信息
URI 参数
无。
Body 参数
getNotificationListRequset| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| current |
取第几页的数据 |
integer |
无。 |
| size |
每页多少条数据,默认10 |
integer |
无。 |
请求格式
application/json, text/json
样例:
{
"current": 1,
"size": 2
}
响应信息
资源描述
gSocResponseOfListItemOfSoc_Notification| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| data | ListItemOfSoc_Notification |
无。 |
|
| req | string |
无。 |
|
| msg | string |
无。 |
|
| code | integer |
无。 |
响应格式
application/json, text/json
样例:
{
"data": {
"total": 1,
"size": 2,
"pages": 3,
"current": 4,
"msg": "sample string 5",
"code": 6,
"records": [
{
"notificationId": 1,
"msgType": 2,
"title": "sample string 3",
"imgUrl": "sample string 4",
"description": "sample string 5",
"content": "sample string 6",
"jumpUrl": "sample string 7",
"timeName": "sample string 8",
"pushTime": "sample string 9",
"openStatus": 10,
"unreadNum": 11,
"type": 12,
"jumpUrlContent": {
"jumpUrlParam": [
{
"param": "sample string 1",
"name": "sample string 2"
},
{
"param": "sample string 1",
"name": "sample string 2"
}
],
"type": 1,
"url": "sample string 2"
}
},
{
"notificationId": 1,
"msgType": 2,
"title": "sample string 3",
"imgUrl": "sample string 4",
"description": "sample string 5",
"content": "sample string 6",
"jumpUrl": "sample string 7",
"timeName": "sample string 8",
"pushTime": "sample string 9",
"openStatus": 10,
"unreadNum": 11,
"type": 12,
"jumpUrlContent": {
"jumpUrlParam": [
{
"param": "sample string 1",
"name": "sample string 2"
},
{
"param": "sample string 1",
"name": "sample string 2"
}
],
"type": 1,
"url": "sample string 2"
}
}
]
},
"req": "sample string 1",
"msg": "sample string 2",
"code": 3
}