要闻列表
GET
http://yj.hndaoben.com/api/index/news_list
请求头
参数名
类型
描述
必填
token
string
示例:d248fd2c-1f61-4d52-8a9b-80122cbb74e0
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:请求成功
必填
time
string
示例:1629266966
必填
total
int
示例:3
必填
per_page
int
示例:15
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
id
int
示例:20
必填
ctype
string
示例:news
必填
form
int
示例:1
必填
content
string
示例:<p>123333333333333333333333333333333</p>
必填
user_id
int
示例:2
必填
name
string
示例:1231231
必填
sort
int
示例:0
必填
view
int
示例:0
必填
create_day
string
示例:2021-08-17
必填
createtime
int
示例:1629200032
必填
nickname
string
示例:昵称
必填
avatar
string
示例:/assets/img/avatar.png
必填
weight
int
示例:0
必填
collect_count
int
示例:0
必填
hun_date
string
示例:18 hours ago
必填
status_text
string
示例:
必填
cate_name
string
示例:
必填