文档
测试

获取消息分页列表

POST
http://1.15.80.200:8080/branch/msg/list

接口描述

获取消息分页列表接口 (可接)

请求头

参数名
类型
描述
必填
Authorization
string
Bearer token令牌
必填

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
noticeStatus
string
消息状态 0.未读 1.已读
可选
pageNum
string
页码
必填
pageSize
string
条数
必填

响应参数

参数名
类型
描述
必填
msg
string
请求结果消息
必填
code
string
请求结果状态码
必填
data
array
返回结果业务对象
必填
total
string
总条数(前端根据总条数判断一共有几页)
必填
rows
array
数据列表
必填
id
string
消息门店编号
必填
noticeTitle
string
消息标题
必填
noticeContent
string
消息内容
必填
createTime
string
消息时间
必填
noticeStatus
string
消息状态 0.未读 1.已读
必填

返回示例

```json { "code": 200, "msg": null, "data": { "total": 6, "rows": [ { "id": 1434804333219368960, "noticeTitle": "测试公告标题", "noticeContent": "我是测试,我是测试!!", "createTime": "2021-09-06 17:03:05", "noticeStatus": 0 }, { "id": 1435171443525246976, "noticeTitle": "123123", "noticeContent": "213213", "createTime": "2021-09-07 17:21:51", "noticeStatus": 0 } ] } } ```