文档
测试

02-讲师基本信息

GET
http://localhost:5000/api/client/teacher/detail/1

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:讲师详情请求成功!
必填
data
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:撩课-王顺子
必填
intro
string
示例:一名爱分享技术的程序员
必填
header
string
示例:/images/teacher/sz.png
必填
position
string
示例:讲师
必填
is_star
int
示例:0
必填
course
array
数据列表
必填
id
int
示例:1
必填
teacher_id
int
示例:1
必填
title
string
示例:Python语言核心
必填
fm_url
string
示例:/images/course/fm_1.jpg
必填
is_hot
int
示例:1
必填
comment_count
int
示例:4
必填
comment_avg_score
float
示例:4.75
必填