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.
91 lines
1.7 KiB
91 lines
1.7 KiB
|
5 years ago
|
@www = https://test.tall.wiki/gateway/logistics/
|
||
|
|
@green = https://www.sxwikionline.com/gateway/greenvalley
|
||
|
|
@wiki = https://www.sxwikionline.com/gateway/wiki
|
||
|
|
@type = content-type: application/json;charset=utf-8
|
||
|
|
@type1 = content-type: application/x-www-form-urlencoded
|
||
|
|
@typeNew = userId:3345
|
||
|
|
@localhost = http://localhost:7170/v1.0
|
||
|
|
@localhostTall = http://localhost:7030/v1.0
|
||
|
|
@localhostCar = http://localhost:7120
|
||
|
|
@testTall = http://192.168.4.113/gateway/tall/v1.0
|
||
|
|
@testWisdomCar = http://192.168.4.113/gateway/wisdomcar
|
||
|
|
@wwww = https://www.tall.wiki/gateway/tall/v1.0
|
||
|
|
|
||
|
|
### login
|
||
|
|
|
||
|
|
# @name login
|
||
|
|
POST {{localhostTall}}/users/signin
|
||
|
|
# POST http://localhost:7030/v1.0/users/signin
|
||
|
|
{{type}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"client": 1,
|
||
|
|
"data": {
|
||
|
|
"credential": "123456",
|
||
|
|
"identifier": "mazhuang"
|
||
|
|
},
|
||
|
|
"scene": 0,
|
||
|
|
"type": 3
|
||
|
|
}
|
||
|
|
|
||
|
|
#创建病例
|
||
|
|
###
|
||
|
|
POST http://localhost:7120/car/createCase
|
||
|
|
# POST {{www}}mbps/selAllMbps
|
||
|
|
{{type}}
|
||
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"param":{
|
||
|
|
"patientName":"张三",
|
||
|
|
"familyName":"张三家长",
|
||
|
|
"familyPhone":"13233032293"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
#测试
|
||
|
|
###F
|
||
|
|
POST http://localhost:7120/statistics/get/selResult
|
||
|
|
# POST {{www}}mbps/selAllMbps
|
||
|
|
{{type}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"param":{
|
||
|
|
"year":2020,
|
||
|
|
"hospitalId":0
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
### 查询空闲平车
|
||
|
|
POST {{testWisdomCar}}/car/free
|
||
|
|
{{type}}
|
||
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"param":{
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
### 查询称重和剂量
|
||
|
|
POST {{localhostCar}}/project/weight
|
||
|
|
{{type}}
|
||
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"param":{
|
||
|
|
"taskSubId":1
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
### 点击开始
|
||
|
|
POST {{localhostCar}}/project/start
|
||
|
|
{{type}}
|
||
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"param":{
|
||
|
|
"taskSubId":1
|
||
|
|
}
|
||
|
|
}
|