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
2019-04-29 11:38:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
af9dd2f12924fab80a09249ee4a63d23d3a416ce
af9dd2f1
1 parent
f793440c
doc api
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
boxfish-paper/paper-智能四会课接口.md
boxfish-paper/paper-智能四会课接口.md
0 → 100644
View file @
af9dd2f
[

](https://996.icu)
### 纸质作业智能四会课程接口
##### 1. 首页获取四会单词课摘要接口
-
URL: {{localhost}}/boxfish-wudaokou-paper/paper/textbook/getTextbookSummary?access_token=tqgdSAzuFF
-
Method: POST
-
RequestBody:
-
ResponseBody:
```
java
public
static
class
TextBookSummary
{
private
String
type
;
private
String
typeDesc
;
private
Integer
amountCourse
;
// 课程数量
private
Integer
amountFresh
=
0
;
// 未查看的数量
private
String
courseName
;
// 纸质作业课程名称
private
String
courseCover
;
// 纸质作业课程封面
private
String
finishedRate
;
// 课程完成率
private
List
<
String
>
nationalKnowledge
=
new
ArrayList
<>();
}
```
##### 2. 点击进入四会单词课模块,进入课程列表接口
-
URL: {{localhost}}/boxfish-wudaokou-paper/paper/textbook/getTextbookList?access_token=tqgdSAzuFF&textbookType=PAPER_TEXTBOOK_WORD
-
Method: POST
-
RequestParam:
参数 | 类型 | 说明
:--- | :--- | :---
textbookType | 枚举 | 教材分类,目前只有
`PAPER_TEXTBOOK_WORD`
单词类型
-
ResponseBody:
```
json
{
"typeDesc"
:
"智能同步四会单词课"
,
"textbookType"
:
"PAPER_TEXTBOOK_WORD"
,
"textbookList"
:
[]
}
```
...
...
Please
register
or
login
to post a comment