首页文章列表
GET
{{u}}/api/index/index
请求头
参数名
类型
描述
必填
token
string
示例:{{t}}
可选
请求参数
参数名
类型
描述
必填
type
// 1 最新 2 精华 3置顶 4 高校 (关注筛选取消)
必填
page
必填
响应参数
参数名
类型
描述
必填
code
number
示例:1
必填
msg
string
示例:index
必填
time
string
示例:1578642019
必填
id
number
示例:3
必填
title
string
示例:内容提交
必填
des
string
示例:描述描述描述
必填
images
string
示例:/uploads/20191231/b87d574531fc7a653e2fa4ffe857ccbf.jpg
必填
createtime
number
示例:1578037418
必填
user_id
number
示例:2
必填
id
number
示例:2
必填
nickname
string
示例:cxx
必填
avatar
string
示例:/uploads/20191231/b87d574531fc7a653e2fa4ffe857ccbf.jpg
必填
gender
number
示例:1
必填
id
必填
type
类型:1=赞,2=踩,0=取消
必填
user_id
必填
article_id
必填
type_text
string
示例:
必填
images_array
array
数据列表
必填
createtime_text
string
示例:2020-01-03
必填
pageview
页面浏览量
必填
praise
点赞数
必填
negative
点踩数
必填
is_recommend
是否置顶
必填
is_top
是否置顶
必填