主页推荐课程接口
POST
http://localhost:8888/home/course/getCourse
接口描述
主页推荐课程接口
请求头
参数名
类型
描述
必填
content-type
String
application/json
必填
token
String
uni.getStorageSync('token')
必填
请求参数
参数名
类型
描述
必填
id
int
课程id
可选
响应成功
参数名
类型
描述
必填
code
String
成功的code码
必填
msg
String
成功的返回信息
必填
data
Object
返回课程数据
必填
响应失败
参数名
类型
描述
必填
code
String
失败的code码
必填
msg
String
失败的返回信息
必填