Toggle navigation
Toggle navigation
This project
Loading...
Sign in
huayandong
/
recommend-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
huayandong
2018-12-28 13:33:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2f526dbcd199839792b125ad5d81cc5e8bea132c
2f526dbc
1 parent
00e19a35
add api
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
1 deletions
boxfish-paper/paper-20181228.md
boxfish-paper/paper-20181228.md
View file @
2f526db
...
...
@@ -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 |
...
...
Please
register
or
login
to post a comment