文档
测试

显示首页所有内容

GET
{{host}}/api/index

响应参数

application/json
参数名
类型
描述
必填
code
int
0失败、1成功、401未授权
必填
time
int
10位时间戳
必填
msg
string
消息内容
必填
data
json(object)
可能为空(null)
必填
src
string
视频地址
必填
banner
json(object)
首页banner
必填
count
int
条目数量
必填
list
json(object)
必填
json(object)
必填
id
int
编号
必填
pic
string
图片地址
必填
link
string
链接地址
必填
tryto
json(object)
广告(免费试用)
必填
title
string
小标题
必填
title2
string
大标题
必填
content
string
正文内容
必填
link
string
链接地址
必填
funs
json(object)
功能介绍
必填
count
int
条目数量
必填
list
json(object)
必填
json(object)
必填
id
int
排序编号
必填
title
string
标题
必填
content
string
正文内容
必填
personnel
json(object)
人才介绍
必填
count
int
条目数量
必填
list
json(object)
必填
json(object)
必填
id
int
排序编号
必填
content
string
介绍正文
必填
name
string
人物姓名(称谓)
必填
position
string
职位
必填
avatar
string
头像地址
必填
about
json(object)
关于我们
必填
phone
string
电话
必填
p_time
string
在线时间
必填
email
string
邮箱
必填
e_time
string
邮箱回复时间
必填

说明 / 示例

{ "code":0, "time":1234567890, "msg":"失败", "data":null } { "code":1, "time":1234567890, "msg":"成功", "data":{ "text":"这是html文本内容" } } { "code":401, "time":1234567890, "msg":"未登录", "data":null }