文档
测试

消息列表

GET
/api/notice

请求参数

参数名
类型
描述
必填
page
int
当前页
必填

响应参数

参数名
类型
描述
必填
data
object
分页数据
必填
current_page
int
当前页
必填
last_page
int
最后一页
必填
data
array
消息数组
必填
title
string
标题
必填
content
string
内容
必填
created_at
string
创建时间
必填
publisher
string
发布者
必填

说明 / 示例

{ "data": { "current_page": 1, "data": [ { "id": 10, "title": "测试消息", "thumbnail": null, "content": "测试消息测试消息测试消息测试消息测试消息测试消息测试消息", "type_id": 13, "link": null, "ord": 0, "created_at": "2022-08-08 09:56:15", "updated_at": "2022-08-08 09:56:15", "remark": null, "times": 0, "img": null, "thumbnail_http": "", "img_http": "" } ], "first_page_url": "http://192.168.5.90/api/notice?page=1", "from": 1, "last_page": 1, "last_page_url": "http://192.168.5.90/api/notice?page=1", "next_page_url": null, "path": "http://192.168.5.90/api/notice", "per_page": "1", "prev_page_url": null, "to": 1, "total": 1 }, "publisher": "e创客" }