Showing
1 changed file
with
42 additions
and
0 deletions
教师版系统智能推荐接口.md
0 → 100644
| 1 | +###接口地址 | ||
| 2 | + | ||
| 3 | +> /course/teacher/{path_flag} | ||
| 4 | + | ||
| 5 | +###请求方式 | ||
| 6 | + | ||
| 7 | +> get请求 | ||
| 8 | + | ||
| 9 | +###请求参数 | ||
| 10 | + | ||
| 11 | +> 无参数 | ||
| 12 | + | ||
| 13 | +###返回值 | ||
| 14 | +######获取成功 | ||
| 15 | +```json | ||
| 16 | +{ | ||
| 17 | + "courses": [ | ||
| 18 | + { | ||
| 19 | + "id": "L3NoYXJlL3N2bi_kurrmlZnkuIPkuIsg5ZCs5YqbLzAwMS0xLlVuaXQgMSBDYW4geW91IHBsYXkgdGhlIGd1aXRhcj8gMSDlkKzlipsueGxzeA", | ||
| 20 | + "name": "Unit 1 Can you play the guitar? 1 听力", | ||
| 21 | + "type": "听力测验", | ||
| 22 | + "difficulty": "1", | ||
| 23 | + "bundleID": "cd58e3bcc4434c8ea2fc5bd593872b38", | ||
| 24 | + "cover": "969fb65a3a1a4f2698d91079b61ece63", | ||
| 25 | + "lastModified": 1437834404849, | ||
| 26 | + "recommend": true | ||
| 27 | + } | ||
| 28 | + ] | ||
| 29 | +} | ||
| 30 | +``` | ||
| 31 | +######获取失败情况1 | ||
| 32 | +```json | ||
| 33 | +{ | ||
| 34 | + "failed": "该用户未设置偏好" | ||
| 35 | +} | ||
| 36 | +``` | ||
| 37 | +######获取失败情况2 | ||
| 38 | +```json | ||
| 39 | +{ | ||
| 40 | +"failed":"偏好获取失败,存在异常" | ||
| 41 | +} | ||
| 42 | +``` |
-
Please register or login to post a comment