文档
测试

角色列表

GET
http://localhost:8087/admin/role/getRoleList?current=1&size=10

请求参数

参数名
类型
描述
必填
current
int
示例:1
必填
size
int
示例:10
必填
search
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:请求成功
必填
code
int
示例:200
必填
data
object
数据字典
必填
records
array
数据列表
必填
roleId
int
(角色id)示例:3
必填
roleName
string
(角色名)示例:总管理员
必填
roleDesc
string
(角色介绍)示例:总管理员
必填
roleCode
string
(标识)示例:admin
必填
sort
int
(排序)示例:1
必填
status
int
(1正常 0禁用)示例:1
必填
createTime
string
示例:2021-04-02 14:15:58
必填
isDelete
object
示例:null
必填
total
int
示例:2
必填
size
int
示例:10
必填
current
int
示例:1
必填
orders
array
数据列表
必填
hitCount
boolean
示例:false
必填
searchCount
boolean
示例:true
必填
pages
int
示例:1
必填