POST api/member/photoup
头像上传
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
头像上传
JsonRtnDtoOfFileUpDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | FileUpDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "ResourceId": "64340055-095e-400c-b70f-5a5eba2bbfe4", "FileLink": "sample string 2", "FileName": "sample string 3" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"ResourceId":"64340055-095e-400c-b70f-5a5eba2bbfe4","FileLink":"sample string 2","FileName":"sample string 3"}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfFileUpDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <FileLink>sample string 2</FileLink> <FileName>sample string 3</FileName> <ResourceId>64340055-095e-400c-b70f-5a5eba2bbfe4</ResourceId> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfFileUpDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"ResourceId":"64340055-095e-400c-b70f-5a5eba2bbfe4","FileLink":"sample string 2","FileName":"sample string 3"}});