Skip to content

岗位课程

我的岗位课程

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 stringID
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优惠