## 上传图片
#### 业务级接口,需携带令牌
~~~[api]
post:/index.php?g=Api&m=V1&a=upload
*string:access_token#登录后获得的令牌
*file:file#文件
<<<
success
{
"status": "success",
"msg": "上传成功",
"data": “图片url地址”
}
<<<
error
{
"status": "fail",
"msg": "错误信息",
"data": null
}
~~~
###postman模拟示例
![](https://box.kancloud.cn/a5e888b6501ac9d3cdfea5c3d0f7c142_1154x380.png)