管理员列表接口 | |
---|---|
url | localhost:8080/managementTeam/sfAdminRoles |
http请求方式 | get |
参数 | |
Authorization(head请求头) | 必填(token) |
分页参数格式 | url?current=?&pageSize=?&roleName=?&statusId=? |
roleName(管理组名称) | String |
statusId(状态(0-禁用,1-启用)) | byte |
返回值 | |
200 | { “code”: “200”, “message”: “请求成功!”, “data”: { “pageNum”: 1, “pageSize”: 10, “totalSize”: 1, “totalPages”: 1, “content”: [ { “roleId”: 1, “roleName”: “超级管理员”, “powers”: “allpowers”, “isSystem”: 1, “statusId”: 1 } ] } } |
500 | 服务器内部错误 |
401 | { “code“: “401”, “message“: “没有找到token,没有权限访问!”, “data”: null } |
{
“code“: “401”,
“message“: “token不正确”,
“data”: null
} |