PUT zd/Users/Put/{id}

修改用户信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

用户编号

integer

Required

Body Parameters

用户实体类

ZD_Users
NameDescriptionTypeAdditional information
ID

integer

Required

UserName

string

None.

NickName

string

None.

Sex

integer

None.

Birthday

date

None.

Password

string

Required

Email

string

Required

CardId

string

None.

Tel

string

None.

Mobile

string

Required

Status

integer

Required

CreateTime

date

Required

UpdateTime

date

Required

OpenID

string

None.

Type

integer

None.

PasswordQuestions

integer

None.

PasswordAnswer

string

None.

HeadImg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserName": "sample string 2",
  "NickName": "sample string 3",
  "Sex": 4,
  "Birthday": "2019-05-24 09:40:49",
  "Password": "sample string 6",
  "Email": "sample string 7",
  "CardId": "sample string 8",
  "Tel": "sample string 9",
  "Mobile": "sample string 10",
  "Status": 11,
  "CreateTime": "2019-05-24 09:40:49",
  "UpdateTime": "2019-05-24 09:40:49",
  "OpenID": "sample string 14",
  "Type": 15,
  "PasswordQuestions": 16,
  "PasswordAnswer": "sample string 17",
  "HeadImg": "sample string 18"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-protobuf

Sample:


application/x-msgpack

Sample:

Sample not available.

Response Information

Resource Description

是否成功

boolean

Response Formats

application/json, text/json

Sample:
true

application/x-msgpack

Sample:

Sample not available.