Skip to content

拉黑/取消拉黑用户

1 接口名称

拉黑/取消拉黑用户

2 接口描述

3 请求地址

Plain
{apiAddress}/user/updateBlackList

4 请求方式

GET

5 请求参数

5.1 Header 参数

参数名必选类型/参数值说明
Content-Typeapplication/json请求参数类型

5.2 Body 参数

json
userId: 1 // 用户ID
status:1 // 状态:0正常,1拉黑

6 返回示例

JSON
{
    "message": "success",
    "code": 0,
    "success": true,
    "data": true
}

7 备注