POST api/admin/update

【管理员】 管理员修改密码

Request Information

URI Parameters

None.

Body Parameters

AdminUpPasswordRequst
NameDescriptionTypeAdditional information
password

原密码(32位MD5)

string

Required

String length: inclusive between 32 and 32

newPassword

新密码(32位MD5)

string

Required

String length: inclusive between 32 and 32

Request Formats

application/json, text/json

Sample:
{
  "password": "sample string 1",
  "newPassword": "sample string 2"
}

Response Information

Resource Description

【管理员】 管理员修改密码

MyResponse
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

data

Object

None.

Response Formats

application/json, text/json

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