移动端API

首页

获取移动端频道

GET /app/channels

响应

成功响应list<AppChannel>

字段 描述
title string 标题
type enum{course,live,classroom} 频道类型
showCount int string 需要展示的数量
actualCount int string 实际可展示的数量
orderType string 排序规则
data list<mixed> 频道数据
enrollmentEndDate 活动报名截止时间或培训项目报名时间
categoryName 活动(培训项目)分类名称
maxStudentNum 活动(培训项目)的最大报名人数,0表示不限人数
studentNum 活动(培训项目)已经报名的人数

响应

[
    {
        "title": "公共课程",
        "type": "publicCourse",
        "categoryId": "0",
        "orderType": "new",
        "showCount": "4",
        "data": [
            {
                "id": "18",
                "type": "normal",
                "title": "ss",
                "subtitle": "",
                "tags": [],
                "categoryId": "0",
                "serializeMode": "none",
                "status": "published",
                "summary": null,
                "goals": [],
                "audiences": [],
                "cover": [],
                "ratingNum": "0",
                "rating": "0",
                "noteNum": "0",
                "studentNum": "0",
                "recommended": "0",
                "recommendedSeq": "0",
                "recommendedTime": "0",
                "orgId": "1",
                "orgCode": "1.",
                "discountId": "0",
                "discount": "10.00",
                "hitNum": "0",
                "maxRate": "100",
                "materialNum": "0",
                "parentId": "0",
                "locked": "0",
                "maxCoursePrice": "0.00",
                "minCoursePrice": "0.00",
                "teacherIds": [
                    "2"
                ],
                "creator": "2",
                "createdTime": "1519895328",
                "updatedTime": "1519958438",
                "defaultCourseId": "18"
            },
            {
                "id": "17",
                "type": "normal",
                "title": "dsac",
                "subtitle": "",
                "tags": [],
                "categoryId": "0",
                "serializeMode": "none",
                "status": "published",
                "summary": null,
                "goals": [],
                "audiences": [],
                "cover": [],
                "ratingNum": "0",
                "rating": "0",
                "noteNum": "0",
                "studentNum": "0",
                "recommended": "0",
                "recommendedSeq": "0",
                "recommendedTime": "0",
                "orgId": "1",
                "orgCode": "1.",
                "discountId": "0",
                "discount": "10.00",
                "hitNum": "0",
                "maxRate": "100",
                "materialNum": "0",
                "parentId": "0",
                "locked": "0",
                "maxCoursePrice": "0.00",
                "minCoursePrice": "0.00",
                "teacherIds": [
                    "2"
                ],
                "creator": "2",
                "createdTime": "1519889387",
                "updatedTime": "1519958446",
                "defaultCourseId": "17"
            },
            {
                "id": "16",
                "type": "normal",
                "title": "ef",
                "subtitle": "",
                "tags": [],
                "categoryId": "0",
                "serializeMode": "none",
                "status": "published",
                "summary": null,
                "goals": [],
                "audiences": [],
                "cover": [],
                "ratingNum": "0",
                "rating": "0",
                "noteNum": "0",
                "studentNum": "0",
                "recommended": "0",
                "recommendedSeq": "0",
                "recommendedTime": "0",
                "orgId": "1",
                "orgCode": "1.",
                "discountId": "0",
                "discount": "10.00",
                "hitNum": "0",
                "maxRate": "100",
                "materialNum": "0",
                "parentId": "0",
                "locked": "0",
                "maxCoursePrice": "0.00",
                "minCoursePrice": "0.00",
                "teacherIds": [
                    "2"
                ],
                "creator": "2",
                "createdTime": "1519888876",
                "updatedTime": "1519888881",
                "defaultCourseId": "16"
            },
            {
                "id": "15",
                "type": "normal",
                "title": "77",
                "subtitle": "",
                "tags": [],
                "categoryId": "0",
                "serializeMode": "none",
                "status": "published",
                "summary": null,
                "goals": [],
                "audiences": [],
                "cover": [],
                "ratingNum": "0",
                "rating": "0",
                "noteNum": "0",
                "studentNum": "0",
                "recommended": "0",
                "recommendedSeq": "0",
                "recommendedTime": "0",
                "orgId": "1",
                "orgCode": "1.",
                "discountId": "0",
                "discount": "10.00",
                "hitNum": "0",
                "maxRate": "100",
                "materialNum": "0",
                "parentId": "0",
                "locked": "0",
                "maxCoursePrice": "0.00",
                "minCoursePrice": "0.00",
                "teacherIds": [
                    "2"
                ],
                "creator": "2",
                "createdTime": "1519888657",
                "updatedTime": "1519888812",
                "defaultCourseId": "15"
            }
        ],
        "actualCount": 4
    },
    {
        "title": "部门课程",
        "type": "departmentCourse",
        "categoryId": "0",
        "orderType": "new",
        "showCount": "4",
        "data": [
            {
                "id": "18",
                "type": "normal",
                "title": "ss",
                "subtitle": "",
                "tags": [],
                "categoryId": "0",
                "serializeMode": "none",
                "status": "published",
                "summary": null,
                "goals": [],
                "audiences": [],
                "cover": [],
                "ratingNum": "0",
                "rating": "0",
                "noteNum": "0",
                "studentNum": "0",
                "recommended": "0",
                "recommendedSeq": "0",
                "recommendedTime": "0",
                "orgId": "1",
                "orgCode": "1.",
                "discountId": "0",
                "discount": "10.00",
                "hitNum": "0",
                "maxRate": "100",
                "materialNum": "0",
                "parentId": "0",
                "locked": "0",
                "maxCoursePrice": "0.00",
                "minCoursePrice": "0.00",
                "teacherIds": [
                    "2"
                ],
                "creator": "2",
                "createdTime": "1519895328",
                "updatedTime": "1519958438",
                "defaultCourseId": "18"
            },
            {
                "id": "17",
                "type": "normal",
                "title": "dsac",
                "subtitle": "",
                "tags": [],
                "categoryId": "0",
                "serializeMode": "none",
                "status": "published",
                "summary": null,
                "goals": [],
                "audiences": [],
                "cover": [],
                "ratingNum": "0",
                "rating": "0",
                "noteNum": "0",
                "studentNum": "0",
                "recommended": "0",
                "recommendedSeq": "0",
                "recommendedTime": "0",
                "orgId": "1",
                "orgCode": "1.",
                "discountId": "0",
                "discount": "10.00",
                "hitNum": "0",
                "maxRate": "100",
                "materialNum": "0",
                "parentId": "0",
                "locked": "0",
                "maxCoursePrice": "0.00",
                "minCoursePrice": "0.00",
                "teacherIds": [
                    "2"
                ],
                "creator": "2",
                "createdTime": "1519889387",
                "updatedTime": "1519958446",
                "defaultCourseId": "17"
            },
            {
                "id": "16",
                "type": "normal",
                "title": "ef",
                "subtitle": "",
                "tags": [],
                "categoryId": "0",
                "serializeMode": "none",
                "status": "published",
                "summary": null,
                "goals": [],
                "audiences": [],
                "cover": [],
                "ratingNum": "0",
                "rating": "0",
                "noteNum": "0",
                "studentNum": "0",
                "recommended": "0",
                "recommendedSeq": "0",
                "recommendedTime": "0",
                "orgId": "1",
                "orgCode": "1.",
                "discountId": "0",
                "discount": "10.00",
                "hitNum": "0",
                "maxRate": "100",
                "materialNum": "0",
                "parentId": "0",
                "locked": "0",
                "maxCoursePrice": "0.00",
                "minCoursePrice": "0.00",
                "teacherIds": [
                    "2"
                ],
                "creator": "2",
                "createdTime": "1519888876",
                "updatedTime": "1519888881",
                "defaultCourseId": "16"
            },
            {
                "id": "15",
                "type": "normal",
                "title": "77",
                "subtitle": "",
                "tags": [],
                "categoryId": "0",
                "serializeMode": "none",
                "status": "published",
                "summary": null,
                "goals": [],
                "audiences": [],
                "cover": [],
                "ratingNum": "0",
                "rating": "0",
                "noteNum": "0",
                "studentNum": "0",
                "recommended": "0",
                "recommendedSeq": "0",
                "recommendedTime": "0",
                "orgId": "1",
                "orgCode": "1.",
                "discountId": "0",
                "discount": "10.00",
                "hitNum": "0",
                "maxRate": "100",
                "materialNum": "0",
                "parentId": "0",
                "locked": "0",
                "maxCoursePrice": "0.00",
                "minCoursePrice": "0.00",
                "teacherIds": [
                    "2"
                ],
                "creator": "2",
                "createdTime": "1519888657",
                "updatedTime": "1519888812",
                "defaultCourseId": "15"
            }
        ],
        "actualCount": 4
    },
    {
        "title": "活动报名",
        "type": "offlineActivity",
        "categoryId": "0",
        "orderType": "new",
        "showCount": "4",
        "data": [
            {
                "id": "30",
                "parentId": "0",
                "title": "Activity",
                "summary": null,
                "cover": [],
                "categoryId": "3",
                "startDate": "1519913700",
                "endDate": "1522368000",
                "enrollmentEndDate": "1521081000",
                "address": "3456",
                "maxStudentNum": "0",
                "studentNum": "0",
                "requireAudit": "0",
                "status": "published",
                "orgId": "1",
                "orgCode": "1.",
                "createdTime": "1519957170",
                "updatedTime": "1519957300",
                "creator": "2",
                "categoryName": "默认分类"
            },
            {
                "id": "27",
                "parentId": "0",
                "title": "test22",
                "summary": null,
                "cover": [],
                "categoryId": "3",
                "startDate": "1519718100",
                "endDate": "1519827900",
                "enrollmentEndDate": "1519797000",
                "address": "43452",
                "maxStudentNum": "0",
                "studentNum": "5",
                "requireAudit": "0",
                "status": "published",
                "orgId": "1",
                "orgCode": "1.",
                "createdTime": "1519717124",
                "updatedTime": "1519782084",
                "creator": "2",
                "categoryName": "默认分类"
            },
            {
                "id": "26",
                "parentId": "0",
                "title": "test",
                "summary": null,
                "cover": [],
                "categoryId": "3",
                "startDate": "1519719300",
                "endDate": "1519722000",
                "enrollmentEndDate": "1519722000",
                "address": "321",
                "maxStudentNum": "1",
                "studentNum": "1",
                "requireAudit": "1",
                "status": "published",
                "orgId": "1",
                "orgCode": "1.",
                "createdTime": "1519716518",
                "updatedTime": "1519719250",
                "creator": "2",
                "categoryName": "默认分类"
            },
            {
                "id": "21",
                "parentId": "0",
                "title": "test",
                "summary": "<p>      </p>\n",
                "cover": [],
                "categoryId": "18",
                "startDate": "1519713600",
                "endDate": "1519713900",
                "enrollmentEndDate": "1519713900",
                "address": "test",
                "maxStudentNum": "0",
                "studentNum": "0",
                "requireAudit": "0",
                "status": "published",
                "orgId": "1",
                "orgCode": "1.",
                "createdTime": "1519713534",
                "updatedTime": "1519713731",
                "creator": "2",
                "categoryName": " "
            }
        ],
        "actualCount": 4
    },
    {
        "title": "ashley普通",
        "type": "course",
        "categoryId": "1",
        "orderType": "new",
        "showCount": "6",
        "data": [
            {
                "id": "9",
                "type": "normal",
                "title": "3213213",
                "subtitle": null,
                "summary": "",
                "cover": {
                    "small": "http://dev.dev15.edusoho.cn/assets/img/default/course.png",
                    "middle": "http://dev.dev15.edusoho.cn/assets/img/default/course.png",
                    "large": "http://dev.dev15.edusoho.cn/assets/img/default/course.png"
                },
                "studentNum": "1",
                "discount": "10.00",
                "maxCoursePrice": "0.00",
                "minCoursePrice": "0.00",
                "minCoursePrice2": {
                    "currency": "RMB",
                    "amount": "0.00"
                },
                "maxCoursePrice2": {
                    "currency": "RMB",
                    "amount": "0.00"
                }
            }
        ],
        "actualCount": 1
    },
    {
        "title": "kecheng",
        "type": "course",
        "categoryId": "0",
        "orderType": "new",
        "showCount": "2",
        "data": [
            {
                "id": "18",
                "type": "normal",
                "title": "ss",
                "subtitle": "",
                "summary": "",
                "cover": {
                    "small": "http://dev.dev15.edusoho.cn/assets/img/default/course.png",
                    "middle": "http://dev.dev15.edusoho.cn/assets/img/default/course.png",
                    "large": "http://dev.dev15.edusoho.cn/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"
                }
            },
            {
                "id": "17",
                "type": "normal",
                "title": "dsac",
                "subtitle": "",
                "summary": "",
                "cover": {
                    "small": "http://dev.dev15.edusoho.cn/assets/img/default/course.png",
                    "middle": "http://dev.dev15.edusoho.cn/assets/img/default/course.png",
                    "large": "http://dev.dev15.edusoho.cn/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"
                }
            }
        ],
        "actualCount": 2
    },
    {
        "title": "培训项目",
        "type": "projectPlan",
        "categoryId": "0",
        "orderType": "new",
        "showCount": "4",
        "data": [
            {
                "id": "2",
                "name": "123456",
                "startTime": "1520870400",
                "endTime": "1521561599",
                "status": "published",
                "summary": "",
                "cover": {
                    "large": "public://default/2018/03-16/1650466143b3587936.png",
                    "middle": "public://default/2018/03-16/16504661546c865761.png",
                    "small": "public://default/2018/03-16/165046615f5b279557.png"
                },
                "itemNum": "6",
                "createdUserId": "4",
                "orgId": "1",
                "orgCode": "1.",
                "createdTime": "1520929024",
                "updatedTime": "1521190247",
                "maxStudentNum": "0",
                "requireAudit": "0",
                "enrollmentEndDate": "0",
                "requireEnrollment": "0",
                "enrollmentStartDate": "0",
                "categoryId": "4",
                "categoryName": "默认分类",
                "studentNum": "2"
            },
            {
                "id": "1",
                "name": "11111111",
                "startTime": "1518019200",
                "endTime": "1521820799",
                "status": "published",
                "summary": "",
                "cover": [],
                "itemNum": "1",
                "createdUserId": "2",
                "orgId": "1",
                "orgCode": "1.",
                "createdTime": "1518060064",
                "updatedTime": "1521008089",
                "maxStudentNum": "0",
                "requireAudit": "0",
                "enrollmentEndDate": "1518191999",
                "requireEnrollment": "1",
                "enrollmentStartDate": "1518019200",
                "categoryId": "4",
                "categoryName": "默认分类",
                "studentNum": "3"
            }
        ],
        "actualCount": 2
    }
]

results matching ""

    No results matching ""