Showing
1 changed file
with
37 additions
and
0 deletions
分类页面学习课程数(老师学生通用接口).md
0 → 100644
1 | +###功能描述 | ||
2 | +``` | ||
3 | +根据信息头中的信息返回老师版还是学生版完成课程数 | ||
4 | +老师版 返回老师班级内所有学生该分类下学习的课程数 | ||
5 | +学生版 返回学生自己该分类下学习的课程数 | ||
6 | +默认返回学生版数据 | ||
7 | +``` | ||
8 | + | ||
9 | +###接口地址 | ||
10 | +```` | ||
11 | +/report/catalog/course/finished | ||
12 | +```` | ||
13 | +###请求方式 | ||
14 | +```` | ||
15 | +GET请求 | ||
16 | +```` | ||
17 | +###URL参数 | ||
18 | +access_toke | ||
19 | +###头信息 | ||
20 | +``` | ||
21 | +x-be-product com.boxfish.student:6.2.0.RELEASE.AppStore | ||
22 | +``` | ||
23 | +###返回值 | ||
24 | +有返回值 | ||
25 | +```json | ||
26 | +[{ | ||
27 | + "catalog_id":100, | ||
28 | + "count":10 | ||
29 | +},{ | ||
30 | + "catalog_id":101, | ||
31 | + "count":20 | ||
32 | +}] | ||
33 | +``` | ||
34 | +无返回值 | ||
35 | +```java | ||
36 | +httpcode:404 | ||
37 | +``` |
-
Please register or login to post a comment