POST Api/Account/ChangePassword

密码修改

Request Information

URI Parameters

None.

Body Parameters

请求模型

SpeedPower.Utility.Models.Service.MIUsers.ChangePasswordBindingModel
NameDescriptionTypeAdditional information
OldPassword

当前密码

string

Required

Data type: Password

NewPassword

新密码

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

确认新密码

string

Data type: Password

Request Formats

application/json, text/json

Sample:
{
  "OldPassword": "sample string 1",
  "NewPassword": "sample string 2",
  "ConfirmPassword": "sample string 3"
}

Response Information

Resource Description

密码修改

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}