POST api/Upload/picture
圖片上傳操作
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
圖片上傳操作
Img_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| flag |
是否上傳成功 |
boolean |
None. |
| msg |
消息 |
string |
None. |
| DocId |
文檔ID |
globally unique identifier |
None. |
| path |
返回文件顯示路徑 |
string |
None. |
| oldFileName |
上傳的文件名 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"flag": true,
"msg": "sample string 2",
"DocId": "3d957824-5af9-472c-89fa-39236f12b37c",
"path": "sample string 3",
"oldFileName": "sample string 4"
}
text/html
Sample:
{"flag":true,"msg":"sample string 2","DocId":"3d957824-5af9-472c-89fa-39236f12b37c","path":"sample string 3","oldFileName":"sample string 4"}