huayandong

add api

... ... @@ -22,6 +22,37 @@
```json
{
"sectionList": [
{
"typeDesc": "智能单词课",
"courseTypeV3": "WORD",
"amountCourse": 4,
"amountFresh": 2,
"courseName": "智能单词课四下1-Lesson1",
"finishedRate": "25"
},
{
"typeDesc": "智能知识点课",
"courseTypeV3": "KNOWLEDGE",
"amountCourse": 5,
"amountFresh": 1,
"courseName": "人大附朝分M11U1",
"courseCover": "9462a20102520cfcaa46b5219f841a62",
"finishedRate": "20"
},
{
"typeDesc": "智能阅读课",
"courseTypeV3": "READING",
"amountCourse": 4,
"amountFresh": 1,
"courseName": "北京二中八上M01自测",
"courseCover": "9462a20102520cfcaa46b5219f841a62",
"finishedRate": "25"
}
]
}
```
###### 2. 智能培优课课程列表页面
... ... @@ -102,4 +133,41 @@
]
}
```
\ No newline at end of file
```
###### 3. 点击进入二级页面,上报取消红点显示接口
- URL: {{localhost}}/boxfish-wudaokou-paper/paper/ai/subjective/recoverFreshFlag?access_token={{token}}
- Method: POST
- Request:
```json
{
"courseTypeV3":"READING",
"gradeList":[
"GRADE_4_B"
]
}
```
- Response: 成功:200状态码
###### 4. 扫描二维码,获取自主学习课程信息
- URL: {{localhost}}/boxfish-wudaokou-paper/paper/ai/getQrCourseInfo?access_token={{token}}&qrCode={{qrCode}}
- Method: GET
- Request: qrCode: 二维码code
- Response:
参数 | 类型 | 说明
--- | --- | ---
flagQrCourseAuth | boolean | 是否有本课的权限:false标识没有,null标识有
courseCode | String | 二维码code
courseTypeV3 | String | 培优课类型:
grade | String |
gradeIndex | 数字 |
courseId | String |
courseProjectName | String |
courseTag | String |
paperId | String |
paperName | String |
... ...