文档
测试

已读消息列表

POST
/home/read

请求参数

参数名
类型
描述
必填
openid
必填
page
int
分页页码
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:2
必填
addtime
string
示例:2021-03-16 18:09
必填
notice
string
示例:欢迎
必填
time
string
示例:一周内
必填
first_page_url
string
示例:http://www.shudong.com/home/unread?page=1
必填
from
int
示例:1
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://www.shudong.com/home/unread?page=1
必填
next_page_url
object
示例:null
必填
path
string
示例:http://www.shudong.com/home/unread
必填
per_page
int
示例:20
必填
prev_page_url
object
示例:null
必填
to
int
示例:3
必填
total
int
示例:3
必填

说明 / 示例

{ "code": 200, "msg": "成功", "data": { "current_page": 1, "data": [ { "id": 2, "addtime": "2021-03-16 18:09", "notice": "欢迎", "time": "一周内" }, { "id": 3, "addtime": "2021-03-16 18:11", "notice": "办个活动", "time": "一周内" }, { "id": 4, "addtime": "2021-03-16 18:41", "notice": "祝大家新年快乐", "time": "一周内" } ], "first_page_url": "http://www.shudong.com/home/unread?page=1", "from": 1, "last_page": 1, "last_page_url": "http://www.shudong.com/home/unread?page=1", "next_page_url": null, "path": "http://www.shudong.com/home/unread", "per_page": 20, "prev_page_url": null, "to": 3, "total": 3 } }