文档
测试
GET
/news

请求参数

参数名
类型
描述
必填
page
int
示例:1
必填
category_id
int
分类ID
必填

响应参数

参数名
类型
描述
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:2
必填
category_id
int
示例:2
必填
title
string
示例:标题
必填
content
string
示例:内容
必填
created_at
int
示例:1588125474
必填
updated_at
int
示例:1588125474
必填
category
object
数据字典
必填
id
int
示例:2
必填
name
string
示例:公告
必填
first_page_url
string
示例:http://houma.shanxi12.com/api/user/news?page=1
必填
from
int
示例:1
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://houma.shanxi12.com/api/user/news?page=1
必填
next_page_url
object
示例:null
必填
path
string
示例:http://houma.shanxi12.com/api/user/news
必填
per_page
int
示例:15
必填
prev_page_url
object
示例:null
必填
to
int
示例:1
必填
total
int
示例:1
必填