POST api/Person/EditPerson?CookCode={CookCode}&CustID={CustID}&Phone={Phone}&Nickname={Nickname}&Sex={Sex}&Provinces={Provinces}&City={City}&Region={Region}&Address={Address}&Motto={Motto}&AvatarID={AvatarID}&ColorID={ColorID}&GroupID={GroupID}&AvatarPath={AvatarPath}&ColorValue={ColorValue}&GroupName={GroupName}&AvatarType={AvatarType}&Birthday={Birthday}

【可用】登录用户--编辑个人资料, 该接口的图片上传通过post提交, 图片大小小于1M, 允许的图片类型:.gif,.jpg,.jpeg,.png,.bmp

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CookCode

登录Token

string

Required

CustID

用户ID

string

Required

Phone

电话

string

Required

Nickname

昵称,URL编码传输

string

Required

Sex

性别,URL编码传输

string

Required

Provinces

所在省,URL编码传输

string

Required

City

城市,URL编码传输

string

Required

Region

区,URL编码传输

string

Required

Address

地址,URL编码传输

string

Required

Motto

个性签名,URL编码传输

string

Required

AvatarID

族群头像ID

integer

Default value is 0

ColorID

颜色ID

integer

Default value is 0

GroupID

族群ID

integer

Default value is 0

AvatarPath

族群头像路径

string

Default value is

ColorValue

族群颜色值

string

Default value is

GroupName

族群名称,URL编码传输

string

Default value is

AvatarType

头像类型:1表示系统头像,2表示用户上传头像

integer

Default value is 1

Birthday

生日

string

Default value is

Body Parameters

None.

Response Information

Resource Description

RequestResult
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {}
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{}}

application/xml, text/xml

Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data />
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResult>