POST api/member/changePwd

修改密碼

Request Information

URI Parameters

None.

Body Parameters

ChangePwdContract
NameDescriptionTypeAdditional information
oldpwd

舊密碼

string

None.

email

郵件地址

string

None.

newpwd

新密碼

string

None.

editip

修改IP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "oldpwd": "sample string 1",
  "email": "sample string 2",
  "newpwd": "sample string 3",
  "editip": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ChangePwdContract'.

Response Information

Resource Description

修改密碼

ReturnResultOfBoolean
NameDescriptionTypeAdditional information
data

boolean

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "code": 2,
  "message": "sample string 3"
}