文档
测试

文章列表

POST
http://{{address}}/api/blog/postlist

请求参数

参数名
类型
描述
必填
slug
string
分类的标识。示例:goucheshuoming
必填

响应参数

参数名
类型
描述
必填
status
int
示例:1
必填
msg
string
示例:操作成功
必填
data
object
数据字典
必填
list
object
数据字典
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:3
必填
user_id
int
示例:1
必填
title
string
示例:什么是青檬订车
必填
slug
string
示例:gc_smsqm
必填
excerpt
string
示例:
必填
content
string
示例:这就是青檬订车
必填
content_html
string
示例:<p>这就是青檬订车</p>
必填
published_at
string
示例:2020-08-11 00:00:00
必填
published
int
示例:1
必填
created_at
string
示例:2020-08-11 16:50:21
必填
updated_at
string
示例:2020-08-11 16:50:21
必填
metadata
object
示例:null
必填
read_num
int
示例:0
必填
zan_num
int
示例:0
必填
summary
string
示例:<p>这就是青檬订车</p>
必填
has_summary
boolean
示例:false
必填
first_page_url
string
示例:http://lycar.test/api/blog/postlist?page=1
必填
from
int
示例:1
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://lycar.test/api/blog/postlist?page=1
必填
next_page_url
object
示例:null
必填
path
string
示例:http://lycar.test/api/blog/postlist
必填
per_page
int
示例:15
必填
prev_page_url
object
示例:null
必填
to
int
示例:2
必填
total
int
示例:2
必填