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-11-14 21:43:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
82f5305021756f658afbf4d9bfc9d670ebfb16a4
82f53050
1 parent
2ba74217
上节课成绩榜
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
全能思维课/成绩排行榜接口.md
全能思维课/成绩排行榜接口.md
View file @
82f5305
...
...
@@ -88,3 +88,58 @@
"star"
:
"1"
}]
```
# 上节课成绩查询接口
*
URL {env.url}/omnipotent/thinking/clazz/group/{groupId}/last/total/completion
*
GET Method
*
path 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| groupId | Long | Y |班级id| classSmallId |
*
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 |纸质课程名字 | |
| 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
...
...
Please
register
or
login
to post a comment