huayandong

doc api

  1 +[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)
  2 +
  3 +
  4 +### 纸质作业智能四会课程接口
  5 +
  6 +##### 1. 首页获取四会单词课摘要接口
  7 +
  8 +- URL: {{localhost}}/boxfish-wudaokou-paper/paper/textbook/getTextbookSummary?access_token=tqgdSAzuFF
  9 +- Method: POST
  10 +- RequestBody:
  11 +
  12 +- ResponseBody:
  13 +
  14 +```java
  15 +public static class TextBookSummary {
  16 + private String type;
  17 + private String typeDesc;
  18 +
  19 + private Integer amountCourse; // 课程数量
  20 + private Integer amountFresh = 0; // 未查看的数量
  21 +
  22 + private String courseName; // 纸质作业课程名称
  23 + private String courseCover; // 纸质作业课程封面
  24 + private String finishedRate; // 课程完成率
  25 + private List<String> nationalKnowledge = new ArrayList<>();
  26 +}
  27 +```
  28 +
  29 +
  30 +##### 2. 点击进入四会单词课模块,进入课程列表接口
  31 +
  32 +- URL: {{localhost}}/boxfish-wudaokou-paper/paper/textbook/getTextbookList?access_token=tqgdSAzuFF&textbookType=PAPER_TEXTBOOK_WORD
  33 +- Method: POST
  34 +- RequestParam:
  35 +
  36 + 参数 | 类型 | 说明
  37 + :--- | :--- | :---
  38 +textbookType | 枚举 | 教材分类,目前只有`PAPER_TEXTBOOK_WORD`单词类型
  39 +
  40 +- ResponseBody:
  41 +
  42 +```json
  43 +{
  44 + "typeDesc": "智能同步四会单词课",
  45 + "textbookType": "PAPER_TEXTBOOK_WORD",
  46 + "textbookList": []
  47 +}
  48 +```
  49 +
  50 +
  51 +