文档
测试

系统消息公告列表

POST
http://localhost/api/userSetting/findNoticeList?pageSize=20&pageNum=1

请求头

参数名
类型
描述
必填
Authorization
用户token
必填

请求参数

参数名
类型
描述
必填
pageNum
当前页码
必填
pageSize
每页数量
必填

响应参数

参数名
类型
描述
必填
showType
公告使用,1每次都显示,2每日显示1次
必填
noticeType
通知类型,1公告,2普通通知
必填
title
标题
必填
cont
内容
必填
isRead
阅读状态 0未读 1已读
必填

说明 / 示例

```json { "msg": "操作成功", "code": 1, "data": [ { "createTime": "2020-02-20 11:29:02", "isRead": 0, "showType": "1", "noticeType": "2", "id": 2, "title": "测试标题", "cont": "测试内容", "userId": 23 }, { "createTime": "2020-02-20 11:29:02", "isRead": 0, "showType": "1", "noticeType": "2", "id": 3, "title": "测试标题", "cont": "测试内容", "userId": 24 }, { "createTime": "2020-02-20 11:29:02", "isRead": 0, "showType": "2", "noticeType": "1", "id": 4, "title": "测试每日公告", "cont": "测试公告内容", "userId": 24 }, { "createTime": "2020-01-20 11:29:02", "isRead": 1, "showType": "2", "noticeType": "1", "id": 1, "title": "测试每日公告", "cont": "测试公告内容", "userId": 23 } ] } ```