### 上传图片
~~~[api]
get:/index/index/upload
<<<
success
{
"code":"0",
"msg":"success",
“data”:{"id":20,"name":"","sort":"1","intro":"","image":"","create_time":"2019-09-18 14:55:27"}
}
<<<
error
{
"code":"-1",
"msg":"error",
}
~~~
### 返回字段说明
| 字段 | 说明 |
| --- | --- |
| code | 返回判断:0:成功;其他:失败 |
| msg| 返回信息说明 |
| data| 信息列表|
| data.id| 通知id|
| data.name| 图片名|
| data.src| 图片url|
| data.size| 图片大小|
| data.create_time| 时间|