文档
测试
POST
/news

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer {{admin-token}}
必填

请求参数

参数名
类型
描述
必填
title
string
搜索标题 示例:题
必填
category_id
int
搜索分类 示例:2
必填

响应参数

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