06.章节页面接口开发

0.具体课程章节页面

1.获取具体课程章节 信息

1.1 路由地址

  • http://192.168.56.100:8888/course/course/2/

1.2 测试结果

 

 

  • 返回结果展示

  • {
        "id": 1,
        "course_type": "免费",
        "course_tag": [
            {
                "id": 1,
                "title": "python"
            }
        ],
        "chapters": [
            {
                "id": 1,
                "sections": [
                    {
                        "id": 1,
                        "create_time": "2020-11-06T11:06:35.914423Z",
                        "update_time": "2020-11-06T11:23:44.639999Z",
                        "title": "Moity",
                        "serial_num": 1,
                        "learn_time": 1,
                        "video": "http://192.168.56.100:8888/media/videos/20201106/8ca58c40cbdf7117943779b0ee079d7c_cxK6eSe.mp4",
                        "seq_num": 1,
                        "chapters": 1
                    }
                ],
                "create_time": "2020-11-06T11:01:40.645596Z",
                "update_time": "2020-11-06T11:01:40.645649Z",
                "title": "1,RICK",
                "serial_num": 1,
                "course": 1
            }
        ],
        "create_time": "2020-11-06T11:01:10.328485Z",
        "update_time": "2020-11-06T11:01:10.328529Z",
        "title": "LInux基础入门",
        "desc": "要在实验楼愉快的学习,先要熟悉的使用Linux基本操作,shell环境下的常用命令",
        "img": "http://192.168.56.100:8888/media/course/7ca024de9c82d1582db71a9b8e0a19d8bc3e4209.jpg",
        "status": "1",
        "attention": 100,
        "learner": 100
    }

     

 

 
posted @ 2020-11-06 21:26  是SY呀  阅读(93)  评论(0编辑  收藏  举报