1.URL
http://124.223.60.234:8080/system/asset/operation/querySystemNoticePushList
2.请求参数
2.1请求头
在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"markType":-1,
"key":"",
"pageNum":1,
"pageSize":20
}
2.3.参数说明
字段 | 类型 | 说明 | 是否必须 |
---|---|---|---|
markType | int | 0:未读;1:标记已读;-1:全部 | Y |
key | String | 模糊查询对应的Key | Y |
pageNum | int | 分页查询页码 | Y |
pageSize | int | 分页查询每页显示条数 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": {
"total": 2,
"size": 1,
"data": [
{
"id": "79C1EC488F394841AB85DBDC8E13AF58",
"title": "20230130更新",
"author": "Mr.Lee",
"content": "系统将与2023年1月1日进行版本更新,请悉知!",
"pushTime": "2023-01-01 00:00:00",
"status": 0,
"markTime": null
},
{
"id": "D71022B76B4A4389AD0BD768084D3A5A",
"title": "20230130更新",
"author": "Mr.Lee",
"content": "系统将与2023年1月1日进行版本更新,请悉知!",
"pushTime": "2023-01-01 00:00:00",
"status": 0,
"markTime": null
}
]
}
}
3.2.返回结果说明
字段 | 类型 | 说明 |
---|---|---|
code | int | 返回状态 |
message | String | 返回结果描述 |
data | object | 返回结果体 |
data说明
字段 | 类型 | 说明 |
---|---|---|
total | String | 总条数 |
size | String | 多少页 |
data | object | 每页的结果集合 |
data说明
字段 | 类型 | 说明 |
---|---|---|
id | String | 消息Id |
title | String | 标题 |
author | String | 作者 |
content | String | 内容 |
pushTime | Integer | 推送时间 |
status | Integer | 标记状态(0:未读;1:标记已读) |
markTime | Integer | 标记已读时间 |
4.请求示例
作者:admin 创建时间:2023-04-16 20:32
最后编辑:admin 更新时间:2025-04-23 17:26
最后编辑:admin 更新时间:2025-04-23 17:26