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.

303 lines
5.4 KiB

5 years ago
@www = https://www.tall.wiki/gateway/wisdomcar2/
5 years ago
@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
5 years ago
@testTall = http://test.tall.wiki/gateway/tall/v1.0
@testWisdomCar = http://test.tall.wiki/gateway/wisdomcar
5 years ago
@wwww = https://www.tall.wiki/gateway/tall/v1.0
### login
# @name login
5 years ago
# POST {{testTall}}/users/signin
5 years ago
# POST http://localhost:7030/v1.0/users/signin
5 years ago
POST {{testTall}}/users/signin
5 years ago
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
5 years ago
"identifier": "zb11"
5 years ago
},
"scene": 0,
"type": 3
}
#创建病例
###
5 years ago
# POST http://localhost:7120/car/createCase
POST {{www}}car/createCase
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
5 years ago
"patientName":"张大斌",
"familyName":"张斌",
"familyPhone":"110"
5 years ago
}
}
5 years ago
5 years ago
#测试
###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":{
}
}
### 查询称重和剂量
5 years ago
POST {{testWisdomCar}}/project/weight
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
5 years ago
"taskSubId":1400078243696087040
5 years ago
}
}
### 点击开始
5 years ago
POST {{www}}/project/start
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
5 years ago
"taskSubId":1400763879319015424
5 years ago
}
}
### 绑定平车
POST {{testWisdomCar}}/car/bindingCar
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"carId":1,
"taskSubId":1400297464451436544,
"projectId":1400297453957287936,
"startTime": 1622728712665,
"endTime": 0
5 years ago
}
5 years ago
}
### 查询开始时间
POST {{testWisdomCar}}/project/getStartTime
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"taskSubId":1400297475818000384
}
}
### 图像识别
POST {{testWisdomCar}}/project/identifyWords
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="part"; filename="< C:\Users\23778\Desktop\zhangbin\1.png"
Content-Type: image/png
< C:\Users\23778\Desktop\zhangbin\1.png
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 查询进度
POST https://www.tall.wiki/gateway/wisdomcar2/statistics/getPointTime
{{type}}
# Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"id":0
}
}
### 发送消息
POST https://www.tall.wiki/gateway/wisdomcar2/debug/record
{{type}}
# 开始
{
"param" : {
"authId": "146",
"type": "2",
"value": "13",
"time": 1622870741758
}
}
5 years ago
### 查询进度
POST http://192.168.4.113/gateway/wisdomcar2/step/findStepIsOver
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1403241411276574720
}
}
### ceshi
POST http://127.0.0.1:7120/debug/record
{{type}}
5 years ago
5 years ago
{
"param":{
"authId": 146,
"time": 1623399900665,
"type": "2",
"value": "2"
}
}
### 补录患者和家属信息
5 years ago
POST http://localhost:7120/patientAndFamily/updatePatientInfo
# POST {{www}}mbps/selAllMbps
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
5 years ago
"id":"1399919046887219200",
"name":"法外狂徒",
"sex":"1",
"age":"32",
"idCard":"142602199908292511",
"phone":"10086",
"familyName":"父亲",
"familyPhone":"1008611"
5 years ago
}
}
5 years ago
#查看环节状态
###F
POST http://localhost:7120/step/findStepIsOver
# POST {{www}}mbps/selAllMbps
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
5 years ago
5 years ago
{
"param":{
"patientCarId":"1"
}
}
#查看患者历史记录
###F
POST http://localhost:7120/patientAndFamily/findOldPatient
# POST {{www}}mbps/selAllMbps
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
}
}
#创建病例
###F
POST http://localhost:7120/car/createCase
# POST {{www}}car/createCase
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"patientName":"马家家",
"patientSex":"0",
"patientAge":"22",
"patientIdCard":"142602199908292111",
"patientPhone":"13233032293",
"familyName":"马家家家长",
"familyPhone":"13233032294"
}
}
#测试
###F
POST http://localhost:7120/statistics/get/selResult
# POST {{www}}mbps/selAllMbps
{{type}}
{
"param":{
"year":2020,
"hospitalId":0
5 years ago
}
}
5 years ago
#修改补录患者和家属信息
###F
POST http://localhost:7120/patientAndFamily/updatePatientInfo
# POST {{www}}patientAndFamily/updatePatientInfo
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"id":"1",
"name":"张三",
"sex":"0",
"age":"18",
"idCard":"142602199908292111",
"phone":"13233032293",
"familyName":"张三家长",
"familyPhone":"13233032293"
}
}
### 切换项目
POST {{www}}/project/switchProject
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1400763879319015424
}
}
5 years ago
>>>>>>> 163f75ccb9867ed03755e8bbf0eb48e37b1a2a47