文档
测试

所有内容

GET
{{host}}/api/teacher

接口描述

显示AI老师页面所有内容

响应参数

application/json
参数名
类型
描述
说明
必填
code
int
0失败、1成功、401未授权
必填
time
int
10位时间戳
必填
msg
string
消息内容
必填
data
json(object)
可能为空(null)
必填
move
string
视频1
必填
move1
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
正文内容
必填
rebaterule
json(object)
折扣广告
数据可能为null
可选
title
string
小标题
必填
title2
string
大标题
必填
rebate
int
折扣 如30 就是 30%
必填
pic
string
广告图标 地址
必填
righttime
string
生效时间
如果包含all就是整个星期生效 如果是 1,2就是星期一、星期二有效 有效时才显示折扣广告
必填
endtime
int
截至的具体时间
截止后不显示广告
必填
link
string
链接地址
必填

说明 / 示例

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