查询出课程的详情
POST
https://uniapp.yywkt.com/api/CourseApi/GetCourseDateils
接口描述
查询出课程的详情
请求参数
参数名
类型
描述
必填
courseId
int
课程ID
必填
userId
string
用户Id,当用户未登录时 传""
必填
sign
string
签名
必填
响应参数
参数名
类型
描述
必填
code
int
200-成功
必填
msg
必填
coverPicturePath
string
封面图
必填
courseName
string
课程名称
必填
price
decimal
课程原价 为0时 代表免费课程
必填
DisCount
decimal
为0时 代表无折扣
必填
MaxPeople
int
当前课程允许报名最大人数 为0时,代表无上限
必填
NumberPeople
int
已报名人数
必填
CourseWay
int
授课方式 1-直播 2-录播
必填
StartDate
datetime
开课时间 (当为录播课程时,不显示课程开始时间)
必填
EndDate
datetime
截止时间 (当为录播课程时,不显示课程截止时间)
必填
IsApply
bool
是否可以报名 1-可以报名 0-不可以报名
必填
DescribeUrl
stirng
课程详情图 适用于手机端
必填
Describe
string
课程详情 html 适用于Pc端
必填
Iscollect
bool
是否收藏 1-是 0-否
必填
IsUserApply
bool
是否已报名 1-已报名 0-未报名
必填
CourseState
int
最新状态 1-已结束 2-直播中 3-即将开始 4-回放按钮
必填