|
|
@ -6,7 +6,7 @@ |
|
|
|
@localhost_tall = http://127.0.0.1:7030/v1.0 |
|
|
|
# @test_ht = http://192.168.31.13/gateway/ht |
|
|
|
@test_ht = http://test.tall.wiki/gateway/ht |
|
|
|
@test_tall = http://192.168.0.99/gateway/tall/v1.0 |
|
|
|
@test_tall = http://192.168.31.13/gateway/tall-ht/v1.0 |
|
|
|
@sd_tall = https://sd.tall.wiki/gateway/tall/v1.0 |
|
|
|
@sd_ht = https://sd.tall.wiki/gateway/ht |
|
|
|
|
|
|
@ -19,7 +19,7 @@ |
|
|
|
### login |
|
|
|
# @name login |
|
|
|
# POST {{sd_tall}}/users/signin |
|
|
|
POST {{localhost_tall}}/users/signin |
|
|
|
POST {{test_tall}}/users/signin |
|
|
|
{{type}} |
|
|
|
|
|
|
|
{ |
|
|
@ -38,10 +38,10 @@ Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0g |
|
|
|
|
|
|
|
title |
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW |
|
|
|
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\导入数据.xlsx" |
|
|
|
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\导入数据2020-04-27(1).xlsx" |
|
|
|
# Content-Type: image/png |
|
|
|
|
|
|
|
< C:\Users\23778\Downloads\导入数据.xlsx |
|
|
|
< C:\Users\23778\Downloads\导入数据2020-04-27(1).xlsx |
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW-- |
|
|
|
|
|
|
|
### 导入类型 |
|
|
@ -57,20 +57,20 @@ Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\ |
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW-- |
|
|
|
|
|
|
|
### 导入指定测评 |
|
|
|
POST {{sd_ht}}/importEvaluation?code=LBD |
|
|
|
POST {{localhost_ht}}/importEvaluation?code=LFT |
|
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW |
|
|
|
|
|
|
|
title |
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW |
|
|
|
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\1.xlsx" |
|
|
|
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Documents\WeChat Files\wxid_km0nxjweubc522\FileStorage\File\2021-04\导入数据(1).xlsx" |
|
|
|
# Content-Type: image/png |
|
|
|
|
|
|
|
< C:\Users\23778\Downloads\1.xlsx |
|
|
|
< C:\Users\23778\Documents\WeChat Files\wxid_km0nxjweubc522\FileStorage\File\2021-04\导入数据(1).xlsx |
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW-- |
|
|
|
|
|
|
|
|
|
|
|
### 导出 |
|
|
|
POST {{localhost_ht}}/exportReport |
|
|
|
POST {{test_ht}}/exportReport |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
@ -81,14 +81,14 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
} |
|
|
|
|
|
|
|
### 导出指定报告单 |
|
|
|
POST {{sd_ht}}/export |
|
|
|
POST {{localhost_ht}}/export |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param": { |
|
|
|
"id": "1385245118524690432" , |
|
|
|
"code": "ADL" |
|
|
|
"id": "1306137371745587200" , |
|
|
|
"code": "HAMD" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -148,3 +148,42 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
"questionId": "1340952996439265280" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
### 查询报告单 |
|
|
|
POST {{localhost_ht}}/queryAllReports |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param": { |
|
|
|
"startAge":0, |
|
|
|
"endAge":100, |
|
|
|
"patientSex":0, |
|
|
|
"educationalStatus":4, |
|
|
|
"startEducationalStatusUnit":0, |
|
|
|
"endEducationalStatusUnit":100, |
|
|
|
"clinicalDiagnosis":null, |
|
|
|
"scores":[ |
|
|
|
{ |
|
|
|
"code":"MMSE", |
|
|
|
"start":0, |
|
|
|
"end":100 |
|
|
|
} |
|
|
|
] |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
### 查询试题 |
|
|
|
POST {{test_ht}}/queryQuestion |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param": { |
|
|
|
"patientReportId":1385233022449750016, |
|
|
|
"code":"AVLT", |
|
|
|
"num":1 |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|