文档
测试

课程详情页

POST
http://maya.zhongyigames.com/index.php/api/index/class_detail

请求参数

参数名
类型
描述
必填
token
string
示例:e65bcba77f882514897eb8b575a7c12f
必填
id
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
class
object
数据字典
必填
id
int
示例:1
必填
title
string
示例:语文第一章1 课程标题
必填
image
string
示例:http://www.class.com/storage/uploads/2021051168cf068e43b113859d6655ded744a2ac.jpg 主图
必填
cid
int
示例:4
必填
type
object
示例:null
必填
add_time
int
示例:1620724573
必填
t_id
int
示例:2
必填
introduce
string
示例:撒旦回复从拉萨的减肥撒娇的健康怕啥的及品牌那是正常的胡搜的字符串骄傲索赔的风景戳破11545421 简介
必填
look_num
int
示例:0 观看数
必填
class_file
string
示例:http://www.class.com/storage/uploads/2021052486a4ff8e0547044105ca606fca109211.pdf 课件
必填
teacher
string
示例:张三1 老师
必填
video_url
string
示例:http://www.class.com/video1622015546.mp4 上次观看的视频连接
必填
long_time
int
示例:900 上次观看的时长
必填
video
array
数据列表
必填
id
int
示例:1 视频 id
必填
t_name
string
示例:视频1 视频标题
必填
video_url
string
示例:http://www.class.com/video1622015546.mp4 视频连接
必填
show
int
1 已经看过 0未看过
必填