huayandong

doc api

@@ -6,11 +6,28 @@ @@ -6,11 +6,28 @@
6 ##### 1. 首页获取四会单词课摘要接口 6 ##### 1. 首页获取四会单词课摘要接口
7 7
8 - URL: {{localhost}}/boxfish-wudaokou-paper/paper/textbook/getTextbookSummary?access_token=tqgdSAzuFF 8 - URL: {{localhost}}/boxfish-wudaokou-paper/paper/textbook/getTextbookSummary?access_token=tqgdSAzuFF
9 -- Method: POST 9 +- Method: GET
10 - RequestBody: 10 - RequestBody:
11 11
12 - ResponseBody: 12 - ResponseBody:
13 13
  14 +```json
  15 +{
  16 + "userId": 100000006030,
  17 + "flagNoPaperTextbook": false, // 是否显示"智能四会课程"这个模块,true:不显示,false:显示。
  18 + "summaryList": [
  19 + {
  20 + "typeDesc": "智能同步四会单词课",
  21 + "type": "PAPER_TEXTBOOK_WORD",
  22 + "amountCourse": 19,
  23 + "courseName": "北师版高中必修4 Learning to learn",
  24 + "courseCover": "340f6c485dbb9268f2b46f017708e4de"
  25 + }
  26 + ]
  27 +}
  28 +```
  29 +
  30 +> `summaryList`集合里类对象的属性:
14 ```java 31 ```java
15 public static class TextBookSummary { 32 public static class TextBookSummary {
16 private String type; 33 private String type;
@@ -30,7 +47,7 @@ public static class TextBookSummary { @@ -30,7 +47,7 @@ public static class TextBookSummary {
30 ##### 2. 点击进入四会单词课模块,进入课程列表接口 47 ##### 2. 点击进入四会单词课模块,进入课程列表接口
31 48
32 - URL: {{localhost}}/boxfish-wudaokou-paper/paper/textbook/getTextbookList?access_token=tqgdSAzuFF&textbookType=PAPER_TEXTBOOK_WORD 49 - URL: {{localhost}}/boxfish-wudaokou-paper/paper/textbook/getTextbookList?access_token=tqgdSAzuFF&textbookType=PAPER_TEXTBOOK_WORD
33 -- Method: POST 50 +- Method: GET
34 - RequestParam: 51 - RequestParam:
35 52
36 参数 | 类型 | 说明 53 参数 | 类型 | 说明