chong

历史课程成绩

  1 +> env.url: `https`://api[api-online.test].boxfish.cn
  2 +>
  3 +> notes:
  4 +>
  5 + * `默认所有接口都要携带token` access_token
  6 +
  7 +# 历史课程成绩查询接口
  8 + * URL {env.url}/report/clazz/group/{groupId}/lesson/{lesson}/total/completion
  9 + * GET Method
  10 + * path 参数:
  11 +
  12 + |参数名 | 类型 | 必填 | 说明 | 示例 |
  13 + |-------------|--------|------|----------|------|
  14 + | groupId | Long | Y |班级id| classSmallId |
  15 +
  16 + * request 参数:
  17 +
  18 + |参数名 | 类型 | 必填 | 说明 | 示例 |
  19 + |-------------|--------|------|----------|------|
  20 + | paper | bool | Y |是否是纸质课程| |
  21 +
  22 + * response:
  23 + httpcode:404 没有课程成绩
  24 + httpcode:200
  25 +
  26 + |参数名 | 类型 | 必填 | 说明 | 示例 |
  27 + |-------------|--------|------|----------|------|
  28 + | total_completion | List | Y |排行榜 |
  29 +
  30 + * total_completion
  31 +
  32 + |参数名 | 类型 | 必填 | 说明 | 示例 |
  33 + |-------------|--------|------|----------|------|
  34 + | user_id | String | Y |用户id| |
  35 + | user_english_name | String | N |用户英文名,外教课时展示 | |
  36 + | user_real_name | String | Y |用户姓名 |
  37 + | figure_url | String | N |用户头像 |
  38 + | star | String | N |五星 | "1" |
  39 +
  40 + ```json
  41 + {
  42 + "total_completion":[{
  43 + "user_id": 100000008807,
  44 + "user_real_name": "周",
  45 + "figure_url": "https://avatars.boxfish.cn/user/1298889/figure/1467366361.jpg",
  46 + "paper_rate_score": 0,
  47 + "total_completion_grade": 0.8,
  48 + "star": "1"
  49 + }]
  50 + }
  51 + ```
@@ -124,7 +124,7 @@ @@ -124,7 +124,7 @@
124 | courseId | String | Y |课程id| | 124 | courseId | String | Y |课程id| |
125 | courseName | String | Y |课程名称 | 125 | courseName | String | Y |课程名称 |
126 | paperId | String | N |纸质课程id | 126 | paperId | String | N |纸质课程id |
127 - | paperName | String | N |纸质课程名字 | | 127 + | paperName | String | N |纸质课程名字 | |
128 128
129 * total_completion 129 * total_completion
130 130