You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
@localhost = http://localhost:7130
|
|
|
|
|
@test = http://192.168.0.99:7130/v3.0
|
|
|
|
|
@type = content-type: application/json;charset=utf-8
|
|
|
|
|
|
|
|
|
|
### 登录
|
|
|
|
|
# @name login
|
|
|
|
|
POST {{test}}/users/signin
|
|
|
|
|
{{type}}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"client": 1,
|
|
|
|
|
"type": 3,
|
|
|
|
|
"data": {
|
|
|
|
|
"identifier": "whj",
|
|
|
|
|
"credential": "123456"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
### 修改账号
|
|
|
|
|
|
|
|
|
|
POST {{test}}/users/password/account
|
|
|
|
|
{{type}}
|
|
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"account": "whj",
|
|
|
|
|
"passwordOld": "1234567",
|
|
|
|
|
"passwordNew": "123456"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### debug
|
|
|
|
|
|
|
|
|
|
POST {{localhost}}/debug
|
|
|
|
|
md5: db06c78d1e24cf708a14ce81c9b617ec
|