角色列表导出
POST
/system/role/export正常返回文件流,响应头如下
content-disposition: attachment;filename=role_export_16_1684133344353.xlsx
content-length: 19438
content-type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
请求参数
Body 参数application/json
roleName
string
角色名称
roleKey
string
权限字符
status
string
状态
0正常 1停用
beginTime
string
创建时间-开始
endTime
string
创建时间-结束
示例
{
"roleName": "string",
"roleKey": "string",
"status": "string",
"beginTime": "string",
"endTime": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
示例异常示例-空数据
{
"code": 500,
"msg": "导出数据记录为空"
}
修改于 1 年前