Showing
1 changed file
with
43 additions
and
0 deletions
用户相关/用户钻石.md
0 → 100644
| 1 | +> env.url: `https`://base[online-api.test].boxfish.cn | ||
| 2 | +> | ||
| 3 | +> notes: | ||
| 4 | +> | ||
| 5 | + * `默认所有接口都要携带token` access_token | ||
| 6 | + | ||
| 7 | +# 课堂老师送钻石 | ||
| 8 | + * URL {env.url}/boxfish-online-card/class/overcoat/gem | ||
| 9 | + * POST Method | ||
| 10 | + * path 参数: | ||
| 11 | + * request JSON参数: | ||
| 12 | + | ||
| 13 | + |参数名 | 类型 | 必填 | 说明 | 示例 | | ||
| 14 | + |-------------|--------|------|----------|------| | ||
| 15 | + | teacherId | String | Y |老师ID| | | ||
| 16 | + | classSmallId | String | Y |班级id| | | ||
| 17 | + | classId | String | Y |课堂id| | | ||
| 18 | + | classType | String | Y |课程类型| CLASS_OVERCOAT_FVR0_010N | | ||
| 19 | + | studentGems | List | Y |第几页 | | ||
| 20 | + | ||
| 21 | + studentGems | ||
| 22 | + | ||
| 23 | + |参数名 | 类型 | 必填 | 说明 | 示例 | | ||
| 24 | + |-------------|--------|------|----------|------| | ||
| 25 | + | studentId | Long | Y |学生ID| | | ||
| 26 | + | amount | Long | Y |数量| | | ||
| 27 | + | ||
| 28 | + ```json | ||
| 29 | + { | ||
| 30 | + "teacherId": 7577, | ||
| 31 | + "classSmallId": 2, | ||
| 32 | + "classId": "zxy", | ||
| 33 | + "classType":"CLASS_OVERCOAT_FVR0_010N", | ||
| 34 | + "studentGems": [{ | ||
| 35 | + "studentId": 7566, | ||
| 36 | + "amount": 3 | ||
| 37 | + }] | ||
| 38 | + } | ||
| 39 | + ``` | ||
| 40 | + | ||
| 41 | + * response: | ||
| 42 | + http code 200 | ||
| 43 | + |
-
Please register or login to post a comment