上传文件
POST
/api/web/system/v1/upload/file
System
请求参数
Query 参数
_weiran_secret
string
可选
默认值:
{{weiran-secret}}
Header 参数
x-os
string
可选
默认值:
{{x-os}}
x-id
string
可选
默认值:
{{x-id}}
Authorization
string
可选
默认值:
Beare {{_token}}
x-type
string
可选
默认值:
user
Body 参数multipart/form-data
file
file
文件
type
enum<string>
上传文件的类型
枚举值:
audiovideoimagesfile
默认值:
audio
示例值:
audio
folder
string
可选
默认值:
default
示例值:
default
示例代码
返回响应
修改于 2025-04-04 11:13:23