zoukankan      html  css  js  c++  java
  • 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
      }
     
  • 相关阅读:
    Ubuntu20.04 安装AMD显卡驱动
    Ubuntu IBus RIME 输入法 配置小鹤双拼
    python time常用转换
    Linux 目录软链接
    MarkDown 插入图片 && Picture To Base64
    Bitmap 简介
    Linux 使用命令发送邮件
    Linux分区
    PyQt graphicsView自适应显示图像
    Python 图片转视频
  • 原文地址:https://www.cnblogs.com/shensy/p/13939014.html
Copyright © 2011-2022 走看看