Appearance
岗位课程
我的岗位课程
GET /me/post_courses
权限
- 需要认证
响应
成功响应PostCourse结构体
PostCourse
结构体
json
[
{
"courseId": "2",
"learnedCompulsoryTaskNum": 0,
"compulsoryTaskNum": "10",
"totalLearnTime": 0,
"courseSet": {
"id": "2",
"type": "normal",
"title": "php基础课程",
"subtitle": "",
"summary": "",
"cover": {
"small": "http://dev.training.com/assets/img/default/course.png",
"middle": "http://dev.training.com/assets/img/default/course.png",
"large": "http://dev.training.com/assets/img/default/course.png"
},
"studentNum": "0",
"discount": "10.00",
"maxCoursePrice": "0.00",
"minCoursePrice": "0.00",
"minCoursePrice2": {
"currency": "RMB",
"amount": "0.00"
},
"maxCoursePrice2": {
"currency": "RMB",
"amount": "0.00"
}
}
},
{
"courseId": "5",
"learnedCompulsoryTaskNum": 10,
"compulsoryTaskNum": "20",
"totalLearnTime": "78903",
"courseSet": {
"id": "5",
"type": "normal",
"title": "php内核剖析",
"subtitle": "",
"summary": "",
"cover": {
"large": "http://dev.training.com/files/default/2018/01-03/153445506692509974.png",
"middle": "http://dev.training.com/files/default/2018/01-03/153445507266498068.png",
"small": "http://dev.training.com/files/default/2018/01-03/153445507e75581965.png"
},
"studentNum": "1",
"discount": "10.00",
"maxCoursePrice": "0.00",
"minCoursePrice": "0.00",
"minCoursePrice2": {
"currency": "RMB",
"amount": "0.00"
},
"maxCoursePrice2": {
"currency": "RMB",
"amount": "0.00"
}
}
}
]
字段说明
字段 | 描述 |
---|---|
courseId | 课程id |
learnedCompulsoryTaskNum | 已学必修任务数 |
compulsoryTaskNum | 必修任务数 |
totalLearnTime | 学习时长(单位:秒) |
courseSetSimpleCourseSet | 课程 |
SimpleCourseSet
字段 | 描述 |
---|---|
id int string | ID |
title string | 标题 |
subtitle string | 副标题 |
type enum{normal,live,open,liveOpen} | 类型 |
cover [CourseCover#CourseCover] | 封面 |
studentNum int string | 学员数量 |
maxCoursePrice int string | 最大价格 |
minCoursePrice int string | 最小价格 |
maxOriginCoursePrice int string | 最高原价格 |
minOriginCoursePrice int string | 最小原价格 |
discount int string | 优惠 |