chong

全程思维课

> 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
... ...
> 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
... ...