1 changed files with 70 additions and 0 deletions
@ -0,0 +1,70 @@ |
|||||
|
@localhost = http://localhost:7260/v2.0 |
||||
|
@localhost_tall = http://localhost:7130/v3.0 |
||||
|
@test_tall = http://192.168.0.99:7130/v3.0 |
||||
|
@test = http://192.168.0.99/gateway/yanyuan/v2.0/ |
||||
|
@www_tall = http://www.tall.wiki:7130/v3.0 |
||||
|
@www = http://www.tall.wiki/gateway/yanyuan/v2.0/ |
||||
|
@type = content-type: application/json;charset=utf-8 |
||||
|
|
||||
|
### 登录 |
||||
|
# @name login |
||||
|
POST {{test_tall}}/users/signin |
||||
|
{{type}} |
||||
|
|
||||
|
{ |
||||
|
"client": 1, |
||||
|
"type": 3, |
||||
|
"data": { |
||||
|
"identifier": "", |
||||
|
"credential": "123456" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
### debug |
||||
|
GET {{test}}/debug |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
###绑定工具箱 |
||||
|
POST {{test}}/tool/bind |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param":{ |
||||
|
"toolCode":"1" |
||||
|
} |
||||
|
} |
||||
|
###添加用户信息 |
||||
|
POST {{test}}/trainee/add |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param":{ |
||||
|
"userName":"张三", |
||||
|
"sex":"1", |
||||
|
"clinicHospital":"张三", |
||||
|
"userName":"张三", |
||||
|
"userName":"张三", |
||||
|
"userName":"张三", |
||||
|
"userName":"张三", |
||||
|
"userName":"张三", |
||||
|
"userName":"张三", |
||||
|
"userName":"张三", |
||||
|
"userName":"张三", |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
###查询绑定者创建的患者信息(申请成为家属前调用) |
||||
|
POST {{test}}/trainee/create |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param":{ |
||||
|
"bindUserId":"121802524949335654" |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue