zhizhi wu 5 years ago
parent
commit
7cc57724a3
  1. 121
      HT/认知.http

121
HT/认知.http

@ -0,0 +1,121 @@
@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
@test_ht = http://192.168.31.13/gateway/ht
@test_tall = http://192.168.0.99/gateway/tall/v1.0
@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
POST {{sxzxyzzlm_tall}}/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "doctorli"
},
"scene": 0,
"type": 3
}
### 导入全部
POST {{test_ht}}/importBase
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 {{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 {{sd_ht}}/importEvaluation?code=LBD
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}}/exportReport
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id": "1374624446844899328"
}
}
### 查询搜索条件
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
}
}
### 查询历史报告单
{{sxzxyzzlm_question}}/queryReports
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": "1369189040502611968",
"pageNum": 1,
"pageSize": 15
}
}
Loading…
Cancel
Save