|
|
|
|
@localhost = http://localhost:7240/v4.0
|
|
|
|
|
@localhost_tall = http://localhost:7130/v3.0
|
|
|
|
|
@test_tall = http://192.168.0.99:7130/v3.0
|
|
|
|
|
@test = http://192.168.0.99/gateway/carbasics/v4.0/
|
|
|
|
|
@type = content-type: application/json;charset=utf-8
|
|
|
|
|
|
|
|
|
|
### 登录
|
|
|
|
|
# @name login
|
|
|
|
|
POST {{localhost_tall}}/users/signin
|
|
|
|
|
{{type}}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"client": 1,
|
|
|
|
|
"type": 3,
|
|
|
|
|
"data": {
|
|
|
|
|
"identifier": "whj",
|
|
|
|
|
"credential": "123456"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Excel
|
|
|
|
|
### 导入Code字典
|
|
|
|
|
POST {{localhost}}/dictionaries/importCode
|
|
|
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
|
|
|
|
|
|
title
|
|
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
|
|
|
Content-Disposition: form-data; name="param"; filename="code字典表(1).xlsx"
|
|
|
|
|
Content-Type: xlsx
|
|
|
|
|
|
|
|
|
|
< C:\Users\23778\Downloads\code字典表(1).xlsx
|
|
|
|
|
|
|
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW--
|
|
|
|
|
|
|
|
|
|
### 批量提交code
|
|
|
|
|
POST {{localhost}}/patient/aidRecord
|
|
|
|
|
{{type}}
|
|
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"param":{
|
|
|
|
|
"projectId":"5",
|
|
|
|
|
"userType":1,
|
|
|
|
|
"codeAndAnswerList":[
|
|
|
|
|
# {
|
|
|
|
|
# "questionCode":"JBXX-FBSJ",
|
|
|
|
|
# "answer":["1630462888249"]
|
|
|
|
|
# },
|
|
|
|
|
# {
|
|
|
|
|
# "questionCode":"JBXX-DYSJ",
|
|
|
|
|
# "answer":["1630462898326"]
|
|
|
|
|
# },
|
|
|
|
|
# {
|
|
|
|
|
# "questionCode":"CJBL-YSBL",
|
|
|
|
|
# "answer":["脑卒中"]
|
|
|
|
|
# }
|
|
|
|
|
{
|
|
|
|
|
"questionCode":"CYQK-CYSJ",
|
|
|
|
|
"answer":["1630462905366"]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"questionCode":"CYQK-LYFS",
|
|
|
|
|
"answer":["测试答案"]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
### 批量查询
|
|
|
|
|
POST {{localhost}}/patient/queryAidRecord
|
|
|
|
|
{{type}}
|
|
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"param":{
|
|
|
|
|
"projectId":"1",
|
|
|
|
|
"codeList":["FZSJ","JZYSDC"]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
### 查询类型的所有下级和完成情况
|
|
|
|
|
POST {{localhost}}/patient/subordinate
|
|
|
|
|
{{type}}
|
|
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"param":{
|
|
|
|
|
"projectId":0,
|
|
|
|
|
"code":"ZQTH"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
### 患者列表
|
|
|
|
|
POST {{localhost}}/firstAid/querySelf
|
|
|
|
|
{{type}}
|
|
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"param":{
|
|
|
|
|
"firstAidType":1,
|
|
|
|
|
"name":"",
|
|
|
|
|
"type":1,
|
|
|
|
|
"projectId":1,
|
|
|
|
|
"pageNum":1,
|
|
|
|
|
"pageSize":10
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
### debug
|
|
|
|
|
POST {{localhost}}/debug
|
|
|
|
|
{{type}}
|
|
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|