文档
测试

文件下载接口文档

GET
http://192.168.0.9:8000/download

接口描述

文件下载接口

请求参数

参数名
类型
描述
必填
filename
str
包含完整路径的文件名,如:filename=test0\test1\bar.xlsx
必填

成功响应

参数名
类型
描述
必填
response
FileResponse
文件数据
必填

失败响应

参数名
类型
描述
必填
response
json
标准返回响应
必填
errorCode
int
0(成功) 1(处理超时) 4xx(资源错误) 5xx(内部服务错误)
必填
errorMessage
str
错误原因,成功则空
必填
result
NoneType
null
必填