文档
测试

🎏 banner

GET
{{host}}/api/index/banner

接口描述

首页banner

响应参数

application/json
参数名
类型
描述
必填
code
int
0失败、1成功、401未授权
必填
time
int
10位时间戳
必填
msg
string
消息内容
必填
data
json(object)
可能为空(null)
必填
list
json(object)
必填
json(object)
必填
id
int
编号
必填
pic
string
图片地址
必填
link
string
链接地址
必填
count
int
条目数
必填

说明 / 示例

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