文档
测试
GET
{{HOST}}/app/news

响应参数

参数名
类型
描述
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
title
string
示例:网站公告
必填
image
string
示例:/
必填
content
string
示例:公告内容
必填
created_at
string
示例:1631694630
必填
updated_at
string
示例:1631694698
必填
first_page_url
string
示例:http://47.105.167.217:9501/api/app/news?page=1
必填
from
int
示例:1
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://47.105.167.217:9501/api/app/news?page=1
必填
next_page_url
object
示例:null
必填
path
string
示例:http://47.105.167.217:9501/api/app/news
必填
per_page
int
示例:10
必填
prev_page_url
object
示例:null
必填
to
int
示例:1
必填
total
int
示例:1
必填