POST api/Customer/CustomerImgSave?sign={sign}

用户头像图标保存

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sign

Sign(密钥2)

string

Required

Body Parameters

ModelCustomerImg
NameDescriptionTypeAdditional information
username

用户名

string

None.

customerid

用户名索引ID

string

None.

baseImg

保存图片时转Base64格式

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "customerid": "sample string 2",
  "baseImg": "sample string 3"
}

application/xml, text/xml

Sample:
<ModelCustomerImg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models.customer">
  <baseImg>sample string 3</baseImg>
  <customerid>sample string 2</customerid>
  <username>sample string 1</username>
</ModelCustomerImg>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ModelReturnCode
NameDescriptionTypeAdditional information
message

备注说明

string

None.

value

返回值

Object

None.

code

代码(0:正常;1:异常)

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 1",
  "value": {}
}

application/xml, text/xml

Sample:
<ModelReturnCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">
  <code>1</code>
  <message>sample string 1</message>
  <value />
</ModelReturnCode>