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.

194 lines
3.6 KiB

5 years ago
@test = https://test.tall.wiki/gateway/tall/v1.0
5 years ago
@www = https://www.tall.wiki/gateway/tall/v1.0
5 years ago
@testRE = https://test.tall.wiki/gateway/recovery
5 years ago
@wwwRE = https://www.tall.wiki/gateway/recovery
5 years ago
@localhost = http://localhost:7030/v1.0
@localhost_re = http://localhost:7190
@type = content-type: application/json;charset=utf-8
### 登录
# @name login
5 years ago
POST {{www}}/users/signin
5 years ago
{{type}}
{
"client": 1,
"type": 3,
"data": {
"identifier": "song",
"credential": "999999"
}
}
### 开始一个训练
5 years ago
POST {{localhost_re}}/debug/http
{{type}}
{
}
### 开始一个训练
POST {{wwwRE}}/patient/start
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"patientId":"1",
4 years ago
"subTaskId":"1403182099229446144",
"recipeProjectId":"39",
5 years ago
"gameId":"1",
5 years ago
"sceneDoctorId":"",
"remoteGuidance":"0",
"remoteDoctorId":""
5 years ago
}
}
### 结束康复流程
POST {{localhost_re}}/patient/complete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"patientId":"1",
"recipeProjectId":""
}
}
4 years ago
### 倒计时结束
POST {{wwwRE}}/patient/countdown
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"id":"1",
"recordId":"1403184679523323904"
}
}
5 years ago
### 结束一个训练
5 years ago
# POST {{localhost_re}}/patient/end
4 years ago
POST {{wwwRE}}/patient/end
5 years ago
{{type}}
{
"param":{
4 years ago
"patientId":1,
"id":"1403184679523323904",
5 years ago
"score":20
}
}
### 动作反馈
POST {{localhost_re}}/patient/feedback
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
5 years ago
"recordId":"1400643708008927232",
"result":"true"
5 years ago
}
}
### 竖屏全屏后查看患者的详细信息
5 years ago
POST {{wwwRE}}/patient/fullScreen
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"detailId":"1402180564018139242"
5 years ago
}
}
### 查看患者的处方信息
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
}
}
### 启动康复流程
4 years ago
POST {{wwwRE}}/patient/fullScreen
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"detailId": 1402180563816812707
5 years ago
}
}
### 康复医生查看患者
POST {{testRE}}/patient/recovery
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
}
}
5 years ago
5 years ago
### 启动康复流程
5 years ago
POST {{localhost_re}}/patient/choose
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
5 years ago
"id": "1",
5 years ago
"robotId":"1"
}
5 years ago
}
{"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