文档
测试

获取文章列表

GET
http://{{url}}/api/index/article_list?type_id=0

请求参数

参数名
类型
描述
必填
type_id
int
类型ID
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1645773174
必填
data
object
数据字典
必填
total
int
示例:2
必填
per_page
int
示例:15
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:2
必填
name
string
示例:收视率出炉!冬奥会闭幕式刷爆全网 参与人数再破纪录
必填
image
string
示例:/uploads/20220222/e868d2a3960b38c99c2505699a2de5b1.png
必填
view
int
示例:10
必填
createtime
int
示例:1645492434
必填
type_id
int
示例:3
必填
status_text
string
示例:
必填