~~~[api]
post:/Approve/upload
*file:file#要上传的图片文件
<<<
success
{
"code": 0,
"msg": "上传成功",
"data": {
"src": "\/storage\/approve\/1\/5a159e1067eaa8a78790e6d0e1bcd3a0.png",
"size": 14980
}
}
<<<
error
{
"code": 1,
"msg": "上传文件后缀不允许"
}
~~~