Toggle navigation
Toggle navigation
This project
Loading...
Sign in
docs
/
developer-docs
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
chong
2019-10-23 10:11:09 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8bcbfab7bc9c9aba82d7b2f208d5d41290d8f4e0
8bcbfab7
1 parent
1ab9e784
全程思维课
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
100 additions
and
0 deletions
全能思维课/口语成绩接口.md
全能思维课/成绩排行榜接口.md
全能思维课/口语成绩接口.md
0 → 100644
View file @
8bcbfab
> env.url: `https`://api[api-online.test].boxfish.cn
>
> notes:
>
*
`默认所有接口都要携带token`
access_token
# 全能思维课口语成绩提交接口
*
URL {env.url}/user/omnipotent/thinking/clazz/record
*
POST Method
*
path 参数:
*
request 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| lesson | String | Y |课程id| |
| text | String | Y |朗读文本| |
| clazz_id | String | Y |课堂id| |
| practice_part | String | Y |第几部分 |
| completion_grade | String | Y |成绩|
[
A_PLUS,A,B,C,D
]
|
*
response:
http code 200
...
...
全能思维课/成绩排行榜接口.md
0 → 100644
View file @
8bcbfab
> env.url: `https`://api[api-online.test].boxfish.cn
>
> notes:
>
*
`默认所有接口都要携带token`
access_token
# 成绩查询接口
*
URL {env.url}/omnipotent/thinking/clazz/lesson/{courseId}/{type}/completion
*
GET Method
*
path 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| courseId | String | Y |课程id| |
| type | String | Y |排行榜类型|
[
app,paper
]
|
*
request 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| clazz_id | String | Y |课堂id| |
| practice_part | String | N |第几部分 ||
*
response:
*
A+榜
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| user_id | String | Y |用户id| |
| user_real_name | String | Y |用户姓名 | |
| figure_url | String | N |用户头像 | |
| completion_grade_top | Object | N | | |
| completion_grade_tops | List | N | | |
```
{
"user_id"
:
100000008806
,
"user_real_name"
:
"Zhao"
,
"completion_A_PLUS"
:
9
,
"completion_grade_tops"
:
[
{
"count"
:
9
,
"completion_grade"
:
"A_PLUS"
},
{
"count"
:
4
,
"completion_grade"
:
"A"
},
{
"count"
:
11
,
"completion_grade"
:
"B"
},
{
"count"
:
9
,
"completion_grade"
:
"C"
},
{
"count"
:
4
,
"completion_grade"
:
"D"
}
],
"completion_grade_top"
:
{
"count"
:
9
,
"completion_grade"
:
"A_PLUS"
}
}
```
*
分数榜
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| user_id | String | Y |用户id| |
| user_real_name | String | Y |用户姓名 |
| figure_url | String | N |用户头像 |
| paper_rate_score | int | N |练习得分 | 100 |
\ No newline at end of file
...
...
Please
register
or
login
to post a comment