|
|
|
@ -1,12 +1,14 @@ |
|
|
|
@test = https://test.tall.wiki/gateway/tall/v1.0 |
|
|
|
@www = https://www.tall.wiki/gateway/tall/v1.0 |
|
|
|
@testRE = https://test.tall.wiki/gateway/recovery |
|
|
|
@wwwRE = https://www.tall.wiki/gateway/recovery |
|
|
|
@localhost = http://localhost:7030/v1.0 |
|
|
|
@localhost_re = http://localhost:7190 |
|
|
|
@type = content-type: application/json;charset=utf-8 |
|
|
|
|
|
|
|
### 登录 |
|
|
|
# @name login |
|
|
|
POST {{localhost}}/users/signin |
|
|
|
POST {{www}}/users/signin |
|
|
|
{{type}} |
|
|
|
|
|
|
|
{ |
|
|
|
@ -18,19 +20,27 @@ POST {{localhost}}/users/signin |
|
|
|
} |
|
|
|
} |
|
|
|
### 开始一个训练 |
|
|
|
POST {{localhost_re}}/patient/start |
|
|
|
POST {{localhost_re}}/debug/http |
|
|
|
{{type}} |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
### 开始一个训练 |
|
|
|
POST {{wwwRE}}/patient/start |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
"patientId":"1", |
|
|
|
"subTaskId":"1", |
|
|
|
"subTaskId":"1400686177719292060", |
|
|
|
"recipeProjectId":"1", |
|
|
|
"gameId":"1", |
|
|
|
"sceneDoctorId":"1", |
|
|
|
"remoteGuidance":"1", |
|
|
|
"remoteDoctorId":"1" |
|
|
|
"sceneDoctorId":"", |
|
|
|
"remoteGuidance":"0", |
|
|
|
"remoteDoctorId":"" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -47,9 +57,9 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
} |
|
|
|
|
|
|
|
### 结束一个训练 |
|
|
|
POST {{localhost_re}}/patient/end |
|
|
|
# POST {{localhost_re}}/patient/end |
|
|
|
POST {{testRE}}/patient/end |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
@ -58,6 +68,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
{"toDomain":"Server","data":"{\"type\":\"Auth\",\"data\":{\"userId\":\"1399952569681448962\"},\"major\":1,\"minor\":1}"} |
|
|
|
### 动作反馈 |
|
|
|
POST {{localhost_re}}/patient/feedback |
|
|
|
{{type}} |
|
|
|
@ -65,19 +76,19 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
"recordId":"1", |
|
|
|
"result":"" |
|
|
|
"recordId":"1400643708008927232", |
|
|
|
"result":"true" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
### 竖屏全屏后查看患者的详细信息 |
|
|
|
POST {{localhost_re}}/patient/fullScreen |
|
|
|
POST {{wwwRE}}/patient/fullScreen |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
"detailId":"11" |
|
|
|
"detailId":"1400051983783694336" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -128,14 +139,41 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 启动康复流程 |
|
|
|
POST {{testRE}}/patient/choose |
|
|
|
POST {{localhost_re}}/patient/choose |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
"id": "123", |
|
|
|
"id": "1", |
|
|
|
"robotId":"1" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
{"toDomain":"Server","data":"{\"type\":\"Auth\",\"data\":{\"userId\":\"1399952569681448962\"},\"major\":1,\"minor\":1}"} |
|
|
|
|
|
|
|
|
|
|
|
{"ackId":"User_1218763410024566784_{}_null","messageSet":[{"id":"60b9928d8448b303d6751c31","time":"1622774413","fromDomain":"Queue","from":"tall_message_1","data":"{\"time\":\"1622774413135\",\"type\":\"switchoverProject\",\"event\":\"switchoverProject\",\"data\":{\"projectId\":\"1400051975156011008\"}}","authMessage":"null"}]} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
康复机器人 |
|
|
|
账号:kfjqr |
|
|
|
密码:123456 |
|
|
|
1399952569681448962 |
|
|
|
|
|
|
|
传小控(患者) |
|
|
|
账号:chuanxiaokong |
|
|
|
密码:123456 |
|
|
|
1399952569681448961 |
|
|
|
|
|
|
|
康复医生 |
|
|
|
账号:kfys |
|
|
|
密码:123456 |
|
|
|
1399952569681448963 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|