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.

190 lines
4.1 KiB

5 years ago
@sxzxyzzlm_ht = https://sxzxyzzlm.tall.wiki/gateway/ht
@sxzxyzzlm_question = https://sxzxyzzlm.tall.wiki/gateway/question
@sxzxyzzlm_tall = https://sxzxyzzlm.tall.wiki/gateway/tall/v1.0
@localhost_question = http://127.0.0.1:7160
@localhost_ht = http://127.0.0.1:7040
5 years ago
@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
5 years ago
@test_tall = http://192.168.0.99/gateway/tall/v1.0
5 years ago
@sd_tall = https://sd.tall.wiki/gateway/tall/v1.0
5 years ago
@sd_ht = https://sd.tall.wiki/gateway/ht
@type = content-type: application/json;charset=utf-8
@formdata = Content-Disposition: form-data; name="image"; filename="1.png"
@excel = Content-Type: image/png
### login
# @name login
5 years ago
# POST {{sd_tall}}/users/signin
POST {{localhost_tall}}/users/signin
5 years ago
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "doctorli"
},
"scene": 0,
"type": 3
}
5 years ago
### 导入全部 ===张斌
5 years ago
POST {{test_ht}}/importBase
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\导入数据2020-04-27(1).xlsx"
5 years ago
# Content-Type: image/png
< C:\Users\23778\Downloads\导入数据2020-04-27(1).xlsx
5 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入类型
POST {{sd_ht}}/importReportType
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\1.xlsx"
# Content-Type: image/png
< C:\Users\23778\Downloads\1.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入指定测评
POST {{localhost_ht}}/importEvaluation?code=LFT
5 years ago
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Documents\WeChat Files\wxid_km0nxjweubc522\FileStorage\File\2021-04\导入数据(1).xlsx"
5 years ago
# Content-Type: image/png
< C:\Users\23778\Documents\WeChat Files\wxid_km0nxjweubc522\FileStorage\File\2021-04\导入数据(1).xlsx
5 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导出
POST {{localhost_ht}}/exportReport
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
5 years ago
"id": "1341582151497420800"
}
}
### 导出指定报告单
POST {{localhost_ht}}/export
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id": "1306137371745587200" ,
"code": "HAMD"
5 years ago
}
}
### 查询搜索条件
POST {{localhost_question}}/patientReport/searchParam
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"parentCode": "KT"
}
}
### 搜索报告单
POST {{test_ht}}/patientReport/search
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"codes" : [
{
"code":"DXL",
"start":0,
"end": 12
}
],
"pageNum" : 1,
"pageSize" : 15
}
}
### 查询历史报告单
5 years ago
POST {{sxzxyzzlm_question}}/queryReports
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": "1369189040502611968",
"pageNum": 1,
"pageSize": 15
}
}
5 years ago
### 画图分析
POST {{localhost_ht}}/queryCanvas
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientReportId": "1385191545782800384",
"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
}
}