Showing
1 changed file
with
35 additions
and
0 deletions
依据教师年级获取课程一级分类接口.md
0 → 100644
| 1 | +###接口地址 | ||
| 2 | + | ||
| 3 | +> /teacher/catalogs/getting | ||
| 4 | + | ||
| 5 | +###请求方式 | ||
| 6 | + | ||
| 7 | +> get请求 | ||
| 8 | + | ||
| 9 | +###请求参数 | ||
| 10 | + | ||
| 11 | +> "fit_grade":"初一" | ||
| 12 | +> 年级fit_grade为单选 | ||
| 13 | + | ||
| 14 | +###返回值 | ||
| 15 | +######正常返回值 | ||
| 16 | +```json | ||
| 17 | +{ | ||
| 18 | + "success": [ | ||
| 19 | + "教材", | ||
| 20 | + "文章", | ||
| 21 | + "发音", | ||
| 22 | + "对话", | ||
| 23 | + "词汇", | ||
| 24 | + "测验", | ||
| 25 | + "私人定制" | ||
| 26 | + ] | ||
| 27 | +} | ||
| 28 | +``` | ||
| 29 | + | ||
| 30 | +######异常返回值 | ||
| 31 | +```json | ||
| 32 | +{ | ||
| 33 | + "failed": "教师选择的年级存在错误" | ||
| 34 | +} | ||
| 35 | +``` |
-
Please register or login to post a comment