Appearance
获取用户组列表
1 接口名称
获取用户组列表
2 接口描述
- 无
3 请求地址
Plain
{apiAddress}/user/getUserGroupList
4 请求方式
POST
5 请求参数
5.1 Header 参数
参数名 | 必选 | 类型/参数值 | 说明 |
---|---|---|---|
Content-Type | 是 | application/json | 请求参数类型 |
5.2 Body 参数
json
{
"spaceId": 36
}
6 返回示例
JSON
{
"message": "success",
"code": 0,
"success": true,
"data": [
{
"id": 7, // 用户组ID
"name": "哈哈", // 用户组名称
"introduce": "呜呼呼呼呼呼", // 用户组介绍
"type": 0 // 用户组类型:1-用户id,2-手机号 3-身份证
},
{
"id": 6,
"name": "哈哈",
"introduce": "呜呼呼呼呼呼",
"type": 0
},
{
"id": 5,
"name": "哈哈",
"introduce": "呜呼呼呼呼呼",
"type": 0
}
]
}