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-09-24 23:19:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bcc6c091a636c1c4c763c0b865c791df5cc3cfde
bcc6c091
1 parent
012c89a5
成绩排行榜接口
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
中教版/成绩排行榜接口.md
中教版/成绩排行榜接口.md
0 → 100644
View file @
bcc6c09
> env.url: `https`://api[api-online.test].boxfish.cn
>
> notes:
>
*
`默认所有接口都要携带token`
access_token
# 成绩查询接口
*
URL {env.url}/training/report/clazz/lesson/{courseId}/completion
*
POST Method
*
path 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| courseId | String | Y |课程id| |
| type | String | Y |排行榜类型|
[
app,paper,total
]
|
*
request 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| clazz_id | String | Y |课堂id| |
| practice_part | String | N |第几部分 ||
*
response:
*
A+榜
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| user_id | String | Y |用户id| |
| user_real_name | String | N |用户姓名 | | | figure_url | String | N |用户头像 | |
| completion_grades | List | N | |
[
A_PLUS,A,B
]
|
*
分数榜
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| user_id | String | Y |用户id| |
| user_real_name | String | N |用户姓名 | | figure_url | String | N |用户头像 |
| paper_rate_score | int | N |练习得分 | 100 |
*
分数榜
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| user_id | String | Y |用户id| |
| user_real_name | String | N |用户姓名 | | figure_url | String | N |用户头像 |
| star | int | N |星星 |
[
0-5
]
|
| paper_rate_score | int | N |练习得分 | 100 |
| user_review_class_comment | String | N |外教练成绩 |
[
EXCELLENT, GREAT, KEEP_TRYING
]
|
\ No newline at end of file
...
...
Please
register
or
login
to post a comment