文档
测试

上传文件

POST
https://wk.daoben.tech/api/common/upload

请求参数

参数名
类型
描述
必填
file
string
示例:
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:上传成功
必填
time
string
示例:1637568147
必填
data
object
数据字典
必填
pic
string
示例:/uploads/20211122/6681eb38e1f9f3db24bf73b4a0c6e3b8.png
必填
url
string
示例:/uploads/20211122/6681eb38e1f9f3db24bf73b4a0c6e3b8.mp4
必填
fullurl
string
示例:https://wk.daoben.tech/uploads/20211122/6681eb38e1f9f3db24bf73b4a0c6e3b8.mp4
必填