字典类型列表导出
POST
/system/dict/type/export正常返回文件流,响应头如下
content-disposition: attachment;filename=dict_type_export_12_1684240671183.xlsx
content-length: 18246
content-type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
请求参数
Body 参数application/json
dictName
string
名称
dictType
string
类型
status
string
状态
0正常 1停用
beginTime
string
创建开始时间
endTime
string
创建结束时间
pageNum
number
页数,默认1
pageSize
number
单页记录数,默认10
示例
{
"dictName": "string",
"dictType": "string",
"status": "string",
"beginTime": "string",
"endTime": "string",
"pageNum": 0,
"pageSize": 0
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
示例异常示例-空数据
{
"code": 500,
"msg": "导出数据记录为空"
}
修改于 1 年前