|
|
@ -1,16 +1,19 @@ |
|
|
|
@localhost = http://localhost:7230/v3.0 |
|
|
|
@localhostTall = http://localhost:7030/v1.0 |
|
|
|
@www = https://www.tall.wiki/gateway/qcp/v3.0 |
|
|
|
@wwwTall = https://www.tall.wiki/gateway/tall/v1.0 |
|
|
|
|
|
|
|
@type = content-type: application/json;charset=utf-8 |
|
|
|
### login |
|
|
|
|
|
|
|
# @name login |
|
|
|
POST {{localhostTall}}/users/signin |
|
|
|
POST {{wwwTall}}/users/signin |
|
|
|
{{type}} |
|
|
|
|
|
|
|
{ |
|
|
|
"client": 1, |
|
|
|
"data": { |
|
|
|
"credential": "123456", |
|
|
|
"credential": "1234567", |
|
|
|
"identifier": "mazhuang" |
|
|
|
}, |
|
|
|
"scene": 0, |
|
|
@ -88,4 +91,96 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
"value": "32", |
|
|
|
"time":1627551651000 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
### 批量提交code |
|
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/patient/aidRecord |
|
|
|
# POST http://127.0.0.1:7230/v3.0/patient/query |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
"projectId":"1420652719055839232", |
|
|
|
"type":0, |
|
|
|
"codeAndAnswerList":[ |
|
|
|
{ |
|
|
|
"questionCode":"sss", |
|
|
|
"answer":"dd" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//Excel |
|
|
|
### 导入WBS |
|
|
|
# POST {{www}}qcp/v3.0/wbs |
|
|
|
# POST {{loaclhost}}{{tallLocal}}/projects/wbs |
|
|
|
POST http://127.0.0.1:7230/v3.0/wbs |
|
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
title |
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW |
|
|
|
Content-Disposition: form-data; name="param"; filename="V2.0 质控平台QCP_WBS 20210725.xls" |
|
|
|
Content-Type: xlsx |
|
|
|
|
|
|
|
< C:\Users\dou\Desktop\V2.0 质控平台QCP_WBS 20210725.xls |
|
|
|
|
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW-- |
|
|
|
|
|
|
|
|
|
|
|
//Excel |
|
|
|
### 导入Code字典 |
|
|
|
POST {{www}}/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字典表.xlsx" |
|
|
|
Content-Type: xlsx |
|
|
|
|
|
|
|
< C:\Users\23778\Downloads\code字典表.xlsx |
|
|
|
|
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW-- |
|
|
|
|
|
|
|
|
|
|
|
### |
|
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/patient/query |
|
|
|
# POST http://127.0.0.1:7230/v3.0/patient/query |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
"type":0 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
### |
|
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/patient/queryAidRecord |
|
|
|
# POST http://127.0.0.1:7230/v3.0/patient/query |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
"type":0 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
### |
|
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/patient/sandClock |
|
|
|
# POST http://127.0.0.1:7230/v3.0/patient/sandClock |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
"projectId":1420652719055839232 |
|
|
|
} |
|
|
|
} |
|
|
|