简要描述
请求URL
liyuan_base/department/manage/list
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
type |
否 |
int |
部门类型 |
name |
否 |
string |
部门名称 |
blurry |
否 |
string |
模糊查询参数:角色名称 |
pageNo |
否 |
int |
页码 |
pageSize |
否 |
int |
分页大小 |
返回示例
{
"code": 0,
"list": [
{
"createBy": 1,
"createTime": 1582992000000,
"defaultData": 1,
"deleted": 0,
"description": "平台的超级管理员,具有平台所有权限。",
"id": 1,
"menuIds": "11,1101,1102,110201,110202,110203,110204,110205,110206",
"merchantId": 1000000,
"merchantName": "平台",
"name": "超级管理员",
"parentId": 0,
"status": 1,
"type": 2,
"updateBy": 1,
"updateTime": 1636022445793
},
{
"createBy": 1,
"createTime": 1638412897545,
"defaultData": 0,
"deleted": 0,
"description": "变秃才能变强",
"id": 626214986624008192,
"merchantId": 1000000,
"name": "开发部",
"parentId": 1,
"status": 1,
"type": 1,
"updateBy": 1,
"updateTime": 1638412897545
},
{
"createBy": 1,
"createTime": 1638412914221,
"defaultData": 0,
"deleted": 0,
"description": "变秃才能变强",
"id": 626215056551444480,
"merchantId": 1000000,
"name": "项目部",
"parentId": 1,
"status": 1,
"type": 1,
"updateBy": 1,
"updateTime": 1638413782925
}
],
"pageTurn": {
"currentPage": 1,
"end": 4,
"firstPage": 1,
"nextPage": 1,
"page": 1,
"pageCount": 1,
"pageSize": 200,
"prevPage": 1,
"rowCount": 4,
"start": 0,
"startIndex": 0
},
"tip": "请求成功"
}
返回参数说明
参数名 |
类型 |
说明 |
id |
long |
角色ID |
name |
string |
角色名称 |
description |
string |
角色描述 |
menuIds |
string |
菜单IDs |
备注