Toggle navigation
Toggle navigation
This project
Loading...
Sign in
docs
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
chong
2019-11-15 18:47:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
16d9af8adcda26efb21b16d17fc61956977ad7b0
16d9af8a
1 parent
85dceef5
修改禁言接口
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
全能思维课/课堂禁言接口.md
全能思维课/课堂禁言接口.md
View file @
16d9af8
...
...
@@ -5,17 +5,32 @@
*
`默认所有接口都要携带token`
access_token
# 全能思维课课堂禁言接口
## 禁言用户
*
URL {env.url}/user/omnipotent/thinking/clazz/room/silence
*
POST
Method
*
`PUT`
Method
*
path 参数:
*
request 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| user_id |
Stri
ng | Y |用户id| |
| user_id |
Lo
ng | Y |用户id| |
| clazz_id | String | Y |课堂id| |
第一次调用用户被禁言,第二次调用解禁
*
response:
http code 200
## 解禁用户
*
URL {env.url}/user/omnipotent/thinking/clazz/room/silence
*
`DELETE`
Method
*
path 参数:
*
request 参数:
|参数名 | 类型 | 必填 | 说明 | 示例 |
|-------------|--------|------|----------|------|
| user_id | Long | Y |用户id| |
| clazz_id | String | Y |课堂id| |
*
response:
http code 200
...
...
Please
register
or
login
to post a comment