文档
测试

拉黑或取消拉黑

POST
/api/chatroom/black

请求头

参数名
类型
描述
必填
Content-Type
string
示例:application/json
必填
token
string
示例:
必填

请求参数

参数名
类型
描述
必填
id
int
用户列表中的id
必填
type
int
1拉黑 0取消拉黑
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:操作成功
必填
time
string
示例:1599104769
必填
data
object
示例:null
必填
user_id
int
被拉黑者id
必填