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
2020-02-17 10:34:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d01c09ea1ee3684695294c6502f886cbcaf6dd0a
d01c09ea
1 parent
d88b4c40
课包五星榜
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
0 deletions
全能思维课/成绩排行榜接口.md
全能思维课/成绩排行榜接口.md
View file @
d01c09e
...
...
@@ -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
...
...
Please
register
or
login
to post a comment