### **獲取完整API、源碼、技術支持、精選面試題**
> ### **請購買 $ [大前端精選 - 面試題](http://www.hmoore.net/small-four/asdasdasdasd/content/HTML.md)**
### 富文本上傳圖片
~~~[api]
get:/manage/product/richtext_img_upload.do
<<<
request
<form name="form2" action="/manage/product/upload.do" method="post" enctype="multipart/form-data">
<input type="file" name="upload_file">
<input type="submit" value="upload"/>
</form>
<<<
success
{
"file_path": "http://img.happymmall.com/5fb239f2-0007-40c1-b8e6-0dc11b22779c.jpg",
"msg": "上傳成功",
"success": true
}
<<<
fail
{
"success": false,
"msg": "error message",
"file_path": "[real file path]"
}
<<<
說明
可以借助于第三方插件
~~~