POST api/Upload/ChatImg

聊聊圖片上傳操作

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

聊聊圖片上傳操作

Img_Output
NameDescriptionTypeAdditional 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": "8deb4b3d-1abd-416b-9dc3-da0e5ec6125b",
  "path": "sample string 3",
  "oldFileName": "sample string 4"
}

text/html

Sample:
{"flag":true,"msg":"sample string 2","DocId":"8deb4b3d-1abd-416b-9dc3-da0e5ec6125b","path":"sample string 3","oldFileName":"sample string 4"}