文档
测试

文件上传

POST
http://localhost:8080/upload/{type}

请求参数

参数名
类型
描述
必填
file
file
文件
必填
type
string
可传递参数为"file"和"video"例如:http://localhost:8080/upload/file,当type=file上传普通文件,当type=video上传视频,视频上传会返回视频截帧
必填

响应参数

参数名
类型
描述
必填
code
string
示例:0
必填
data
object
数据字典
必填
filename
string
文件名
必填
link
string
链接
必填
cover
string
视频截帧
必填
msg
string
示例:执行成功
必填