菜单

查询角色列表

下载

接口地址:/webapi/user/action/listRole

请求方式:GET

请求数据类型:application/x-www-form-urlencoded

响应数据类型:*/*

接口描述:

查询角色

请求参数:

参数名称 参数说明 请求类型 是否必须 数据类型 schema
getmId false string
getrId false string
weight false string
name false string
type false string
description false string
id false integer(int32)

响应状态:

状态码 说明 schema
200 OK ResponseResultListRoleListVo

响应参数:

参数名称 参数说明 类型 schema
message 返回状态标记 string
statFlag 返回状态 integer(int32) integer(int32)
dataInfo 返回的数据 array RoleListVo
  id 角色id integer(int32)
  name 角色名称 string
  weight 角色权重 integer(int32)
  type 角色类型 integer(int32)
  description 角色描述 string
  createTime 创建时间 string
dataCount 返回数据条数 integer(int32) integer(int32)

响应示例:

javascript 复制代码
{
	"message": "操作成功",
	"statFlag": 0,
	"dataInfo": [
		{
			"id": 0,
			"name": "",
			"weight": 0,
			"type": 0,
			"description": "",
			"createTime": ""
		}
	],
	"dataCount": 10
}
分享文章
上一个
创建角色
下一个
修改角色
最近修改: 2024-12-12