chong

课包五星榜

... ... @@ -149,3 +149,64 @@
}]
}
```
# 课包上节课成绩查询接口
* URL {env.url}/omnipotent/thinking/clazz/group/{groupId}/last/total/completion
* GET Method
* path 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| groupId | Long | Y |班级id| classSmallId |
* request 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| class_id | String | Y |班级id| classId |
| class_unit | String | Y |班级id| classUnit |
* response:
httpcode:404 没有上次课程成绩
httpcode:200
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| coruse | object | Y |课程信息| |
| total_completion | List | Y |排行榜 |
* course
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| courseId | String | Y |课程id| |
| courseName | String | Y |课程名称 |
| paperId | String | N |纸质课程id |
| paperName | String | N |纸质课程名字 | |
* total_completion
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| user_id | String | Y |用户id| |
| user_real_name | String | Y |用户姓名 |
| figure_url | String | N |用户头像 |
| star | String | N |五星 | "1" |
```json
{
"course":{
"paperId":"",
"paperName":""
},
"total_completion":[{
"user_id": 100000008807,
"user_real_name": "周",
"figure_url": "https://avatars.boxfish.cn/user/1298889/figure/1467366361.jpg",
"paper_rate_score": 0,
"total_completion_grade": 0.8,
"star": "1"
}]
}
```
\ No newline at end of file
... ...