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.
141 lines
2.4 KiB
141 lines
2.4 KiB
@test = https://test.tall.wiki/gateway/tall/v1.0
|
|
@testRE = https://test.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
|
|
{{type}}
|
|
|
|
{
|
|
"client": 1,
|
|
"type": 3,
|
|
"data": {
|
|
"identifier": "song",
|
|
"credential": "999999"
|
|
}
|
|
}
|
|
### 开始一个训练
|
|
POST {{localhost_re}}/patient/start
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"patientId":"1",
|
|
"subTaskId":"1",
|
|
"recipeProjectId":"1",
|
|
"gameId":"1",
|
|
"sceneDoctorId":"1",
|
|
"remoteGuidance":"1",
|
|
"remoteDoctorId":"1"
|
|
}
|
|
}
|
|
|
|
### 结束康复流程
|
|
POST {{localhost_re}}/patient/complete
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"patientId":"1",
|
|
"recipeProjectId":""
|
|
}
|
|
}
|
|
|
|
### 结束一个训练
|
|
POST {{localhost_re}}/patient/end
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"recordId":"1",
|
|
"score":20
|
|
}
|
|
}
|
|
|
|
### 动作反馈
|
|
POST {{localhost_re}}/patient/feedback
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"recordId":"1",
|
|
"result":""
|
|
}
|
|
}
|
|
|
|
### 竖屏全屏后查看患者的详细信息
|
|
POST {{localhost_re}}/patient/fullScreen
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"detailId":"11"
|
|
}
|
|
}
|
|
|
|
### 查看患者的处方信息
|
|
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 {{testRE}}/patient/choose
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"id": "123",
|
|
"robotId":"1"
|
|
}
|
|
}
|