POST api/store/edit

修改个人资料,密码为null时不修改密码

Request Information

URI Parameters

None.

Body Parameters

StoreManagerModel
NameDescriptionTypeAdditional information
UserName

用户名

string

None.

Name

姓名

string

None.

ImgUrl

头像

string

None.

PhoneNumber

手机号码

string

None.

Password

密码(只能修改不能获取)

string

None.

Address

地址

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Name": "sample string 2",
  "ImgUrl": "sample string 3",
  "PhoneNumber": "sample string 4",
  "Password": "sample string 5",
  "Address": "sample string 6"
}

application/xml, text/xml

Sample:
<StoreManagerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Response">
  <Address>sample string 6</Address>
  <ImgUrl>sample string 3</ImgUrl>
  <Name>sample string 2</Name>
  <Password>sample string 5</Password>
  <PhoneNumber>sample string 4</PhoneNumber>
  <UserName>sample string 1</UserName>
</StoreManagerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": "sample string 1",
  "errmsg": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
  <errcode>sample string 1</errcode>
  <errmsg>sample string 2</errmsg>
</ResponseBase>