POST api/ClientApp/profile/change/password

🎉 修改密码

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordRequest
NameDescriptionTypeAdditional information
old_password

旧密码

string

String length: inclusive between 6 and 50

otp

OTP(印度手机验证码)

string

None.

new_password

旧密码

string

Required

String length: inclusive between 6 and 50

clientType

客户端类型,默认值:website

string

None.

clientVersion

客户端版本,默认值:1.0.0

string

None.

Request Formats

application/json, text/json

Sample:
{
  "old_password": "sample string 1",
  "otp": "sample string 2",
  "new_password": "sample string 3",
  "clientType": "sample string 4",
  "clientVersion": "sample string 5"
}

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
code

1 为成功,其他为失败

integer

None.

msg

请求描述

string

None.

elapsed_time

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "elapsed_time": 0.0
}