岗位列表导出
POST
/system/post/export正常返回文件流,响应头如下
content-disposition: attachment;filename=post_export_16_1684133344353.xlsx
content-length: 19438
content-type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
请求参数
Body 参数application/json
configName
string
岗位名称
postCode
string
岗位编码
status
string
状态
0正常 1停用
pageNum
number
页数,默认1
pageSize
number
单页记录数,默认10
示例
{
"configName": "string",
"postCode": "string",
"status": "string",
"pageNum": 0,
"pageSize": 0
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
示例异常示例-空数据
{
"code": 500,
"msg": "导出数据记录为空"
}
修改于 1 年前