Showing
1 changed file
with
51 additions
and
0 deletions
boxfish-paper/paper-智能四会课接口.md
0 → 100644
1 | +[](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 | + |
-
Please register or login to post a comment