Appearance
拉黑/取消拉黑用户
1 接口名称
拉黑/取消拉黑用户
2 接口描述
- 无
3 请求地址
Plain
{apiAddress}/user/updateBlackList
4 请求方式
GET
5 请求参数
5.1 Header 参数
参数名 | 必选 | 类型/参数值 | 说明 |
---|---|---|---|
Content-Type | 是 | application/json | 请求参数类型 |
5.2 Body 参数
json
userId: 1 // 用户ID
status:1 // 状态:0正常,1拉黑
6 返回示例
JSON
{
"message": "success",
"code": 0,
"success": true,
"data": true
}