角色列表导出
GET
/system/role/export
需登录
content-disposition: attachment;filename=role_export_16_1684133344353.xlsx
content-length: 19438
content-type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
请求参数
Query 参数
roleName
string
角色名称
示例值:
{% mock 'ctitle' %}
roleKey
string
权限字符
示例值:
{% mock 'word' %}
statusFlag
string
可选
示例值:
{% mock 'pick' , [0,1] %}
beginTime
string
创建时间-开始
示例值:
{% mock 'timestamp', 'ms' %}
endTime
string
创建时间-结束
示例值:
{% mock 'timestamp', 'ms' %}
Header 参数
Authorization
string
授权令牌
默认值:
{{token_prefix}} {{token_access}}
Referer
string
必需
默认值:
{{referer}}
User-Agent
string
用户浏览器代理
默认值:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36
示例代码
返回响应
修改于 2025-02-23 15:40:22