摘要: 章节页面接口开发 0.具体课程章节页面 1.获取具体课程章节 信息 1.1 路由地址 http://192.168.100:8888/course/course/2/ 1.2 测试结果 返回结果展示 {"id": 2,"chapters": [{"id": 1,"sections": [{"id": 阅读全文
posted @ 2020-11-09 11:56 Aurora.🌻 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 课程主页面三个接口开发 0.课程主页面接口对应页面效果 1.课程类别接口开发 1.1 course/urls.py 添加路由 from django.urls import path, re_pathfrom rest_framework.routers import DefaultRouter # 阅读全文
posted @ 2020-11-09 11:17 Aurora.🌻 阅读(113) 评论(0) 推荐(1) 编辑