POST api/DingDingProgram/UploadCheckPicByOss
上传图片
Request Information
URI Parameters
None.
Body Parameters
UploadOSSName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
pic | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "pic": "sample string 2" }
application/xml, text/xml
Sample:
<UploadOSS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels"> <id>1</id> <pic>sample string 2</pic> </UploadOSS>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UploadFileResponseName | Description | Type | Additional information |
---|---|---|---|
filePath |
保存路径 |
string |
None. |
picName |
图片名称 |
string |
None. |
doc_picName | string |
None. |
|
msg |
消息 |
string |
None. |
result |
是否成功 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "filePath": "sample string 1", "picName": "sample string 2", "doc_picName": "sample string 3", "msg": "sample string 4", "result": true }
application/xml, text/xml
Sample:
<UploadFileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi"> <msg>sample string 4</msg> <result>true</result> <doc_picName>sample string 3</doc_picName> <filePath>sample string 1</filePath> <picName>sample string 2</picName> </UploadFileResponse>