## 上傳圖片
~~~[api]
post:/api/data/upload
*file:file#圖片
<<<
success
{
"code": 1,
"msg": "上傳成功",
"result": {
"type": 0,
"name": "basicprofile.png", // 圖片名稱
"src": "https:\/\/miniprogram.xtow.net\/static\/cover\/b1\/e6b73786e18e1051270130756bc54e.png", // 圖片路徑
"size": 6742, // 圖片大小(字節)
"create_time": "2018-06-12 16:02:48", // 上傳時間
"id": "3" // 圖片ID
}
}
~~~