Showing
1 changed file
with
16 additions
and
11 deletions
| 1 | #### 接口地址 | 1 | #### 接口地址 |
| 2 | 2 | ||
| 3 | - >/teacher_preference/setting | 3 | + > /teacher_preference/setting |
| 4 | 4 | ||
| 5 | ####请求方式 | 5 | ####请求方式 |
| 6 | 6 | ||
| 7 | - >POST请求 | 7 | + > POST请求 |
| 8 | 8 | ||
| 9 | ####参数格式 | 9 | ####参数格式 |
| 10 | 10 | ||
| 11 | - - "fit_grade":"初一" | 11 | + > - "fit_grade":"初一" |
| 12 | - - "difficulty":"1" | 12 | + > - "difficulty":"1" |
| 13 | - - "relation_material":"人教2012版-七上" | 13 | + > - "relation_material":"人教2012版-七上" |
| 14 | 14 | ||
| 15 | ####返回值 | 15 | ####返回值 |
| 16 | - ######设置成功 | ||
| 17 | - ```json | ||
| 18 | 16 | ||
| 19 | - "偏好设置": "success" | 17 | +######设置成功 |
| 20 | 18 | ||
| 21 | - ######设置失败 | 19 | + ```json |
| 20 | + { | ||
| 21 | + "偏好设置": "success" | ||
| 22 | + } | ||
| 23 | +``` | ||
| 24 | +######设置失败 | ||
| 22 | 25 | ||
| 26 | +```json | ||
| 27 | + { | ||
| 23 | "偏好设置": "failed" | 28 | "偏好设置": "failed" |
| 24 | - | 29 | + } |
| 25 | - | 30 | +``` |
| 26 | 31 | ||
| 27 | 32 | ||
| 28 | 33 |
-
Please register or login to post a comment