chong

文档更新

@@ -32,6 +32,8 @@ @@ -32,6 +32,8 @@
32 | figure_url | String | N |用户头像 | | 32 | figure_url | String | N |用户头像 | |
33 | completion_grade_list | List | N | | | 33 | completion_grade_list | List | N | | |
34 | silence | boolean | Y |是否被禁言 | [true,false] | 34 | silence | boolean | Y |是否被禁言 | [true,false] |
  35 + | disable_camera | boolean | Y |是否被禁用摄像头 | [true,false] |
  36 +
35 37
36 ```json 38 ```json
37 [{ 39 [{
@@ -60,6 +62,7 @@ @@ -60,6 +62,7 @@
60 | figure_url | String | N |用户头像 | 62 | figure_url | String | N |用户头像 |
61 | paper_rate_score | int | N |纸质练习得分 | 100 | 63 | paper_rate_score | int | N |纸质练习得分 | 100 |
62 | silence | boolean | Y |是否被禁言 | [true,false] | 64 | silence | boolean | Y |是否被禁言 | [true,false] |
  65 + | disable_camera | boolean | Y |是否被禁用摄像头 | [true,false] |
63 ```json 66 ```json
64 [{ 67 [{
65 "user_id": 100000008807, 68 "user_id": 100000008807,
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 > 4 >
5 * `默认所有接口都要携带token` access_token 5 * `默认所有接口都要携带token` access_token
6 6
7 -# 全能思维课课堂禁言接口 7 +# 全能思维课课堂控制接口
8 ## 禁言用户 8 ## 禁言用户
9 * URL {env.url}/user/omnipotent/thinking/clazz/room/silence 9 * URL {env.url}/user/omnipotent/thinking/clazz/room/silence
10 * `PUT` Method 10 * `PUT` Method
@@ -32,5 +32,33 @@ @@ -32,5 +32,33 @@
32 32
33 * response: 33 * response:
34 http code 200 34 http code 200
  35 +
  36 +## 禁用用户摄像头
  37 + * URL {env.url}/user/omnipotent/thinking/clazz/room/disable/camera
  38 + * `PUT` Method
  39 + * path 参数:
  40 + * request 参数:
  41 +
  42 + |参数名 | 类型 | 必填 | 说明 | 示例 |
  43 + |-------------|--------|------|----------|------|
  44 + | user_id | Long | Y |用户id| |
  45 + | clazz_id | String | Y |课堂id| |
  46 +
  47 + * response:
  48 + http code 200
  49 +
  50 +## 解禁用户摄像头
  51 + * URL {env.url}/user/omnipotent/thinking/clazz/room/disable/camera
  52 + * `DELETE` Method
  53 + * path 参数:
  54 + * request 参数:
  55 +
  56 + |参数名 | 类型 | 必填 | 说明 | 示例 |
  57 + |-------------|--------|------|----------|------|
  58 + | user_id | Long | Y |用户id| |
  59 + | clazz_id | String | Y |课堂id| |
  60 +
  61 + * response:
  62 + http code 200
35 63
36 64