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.
179 lines
3.5 KiB
179 lines
3.5 KiB
@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 {{www}}/users/signin
|
|
{{type}}
|
|
|
|
{
|
|
"client": 1,
|
|
"type": 3,
|
|
"data": {
|
|
"identifier": "song",
|
|
"credential": "999999"
|
|
}
|
|
}
|
|
### 开始一个训练
|
|
POST {{localhost_re}}/debug/http
|
|
{{type}}
|
|
|
|
{
|
|
|
|
}
|
|
|
|
### 开始一个训练
|
|
POST {{wwwRE}}/patient/start
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"patientId":"1",
|
|
"subTaskId":"1400686177719292060",
|
|
"recipeProjectId":"1",
|
|
"gameId":"1",
|
|
"sceneDoctorId":"",
|
|
"remoteGuidance":"0",
|
|
"remoteDoctorId":""
|
|
}
|
|
}
|
|
|
|
### 结束康复流程
|
|
POST {{localhost_re}}/patient/complete
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"patientId":"1",
|
|
"recipeProjectId":""
|
|
}
|
|
}
|
|
|
|
### 结束一个训练
|
|
# POST {{localhost_re}}/patient/end
|
|
POST {{testRE}}/patient/end
|
|
{{type}}
|
|
|
|
{
|
|
"param":{
|
|
"recordId":"1",
|
|
"score":20
|
|
}
|
|
}
|
|
|
|
{"toDomain":"Server","data":"{\"type\":\"Auth\",\"data\":{\"userId\":\"1399952569681448962\"},\"major\":1,\"minor\":1}"}
|
|
### 动作反馈
|
|
POST {{localhost_re}}/patient/feedback
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"recordId":"1400643708008927232",
|
|
"result":"true"
|
|
}
|
|
}
|
|
|
|
### 竖屏全屏后查看患者的详细信息
|
|
POST {{wwwRE}}/patient/fullScreen
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"detailId":"1400051983783694336"
|
|
}
|
|
}
|
|
|
|
### 查看患者的处方信息
|
|
POST {{localhost_re}}/recipe/queryRecipe
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"id":"33333"
|
|
}
|
|
}
|
|
|
|
|
|
### 康复医生通过身份证模糊查询患者
|
|
POST {{localhost_re}}/patient/vague
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"idCard":null
|
|
}
|
|
}
|
|
|
|
|
|
### 启动康复流程
|
|
POST {{testRE}}/patient/fullScreen
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"detailId": 1400051983783694336
|
|
}
|
|
}
|
|
|
|
### 康复医生查看患者
|
|
POST {{testRE}}/patient/recovery
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
### 启动康复流程
|
|
POST {{localhost_re}}/patient/choose
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"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
|
|
|
|
|
|
|
|
|