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.

267 lines
5.1 KiB

4 years ago
@localhost = http://localhost:7230/v3.0
4 years ago
@localhostTall = http://localhost:7130/v1.0
4 years ago
@www = https://www.tall.wiki/gateway/qcp/v3.0
4 years ago
@test = http://192.168.0.99/gateway/qcp/v3.0
@www_tall = http://www.tall.wiki:7130/v3.0
@test_tall = http://192.168.0.99:7130/v3.0
@tTall = https://www.tall.wiki/gateway/tall/v1.0
4 years ago
4 years ago
@type = content-type: application/json;charset=utf-8
### login
# @name login
4 years ago
POST {{test_tall}}/users/signin
4 years ago
{{type}}
{
"client": 1,
"data": {
4 years ago
"credential": "123456",
4 years ago
"identifier": "screen0"
4 years ago
},
"scene": 0,
"type": 3
}
### 环节完成情况
POST {{localhost}}/statistical/step
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"projectId": "1"
}
}
4 years ago
### 查询质控报告
POST {{test}}/screen/countYear
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
### 查询医院全部平车
POST {{test}}/car/queryAll
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"projectId":1
}
}
4 years ago
4 years ago
### 大屏急救各个节点时间统计
POST {{test}}/screen/getPointTime
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"carId":3
}
}
### 查询平车最新环节的时间
POST {{test}}/screen/queryStepTime
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
4 years ago
4 years ago
}
}
4 years ago
### 查询质控报告
4 years ago
POST {{www}}/statistical/queryQuality
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
4 years ago
"startTime": 1577808000000,
"endTime": 1627974648000,
"type": 0
4 years ago
}
}
### 查询质控报告
POST {{localhost}}/statistical/queryQuality/everyday
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
### 查询医院的平车信息
POST {{localhost}}/car/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
### 查询患者绑定的平车信息
POST {{localhost}}/car/bind
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"carId": 1212,
"projectId": 1420308599896547328
}
}
### 模拟平车消息发送
POST {{localhost}}/debug/record
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"authId": 145,
"type": 2,
"value": "32",
"time":1627551651000
}
4 years ago
}
### 批量提交code
4 years ago
# POST http://www.tall.wiki/gateway/qcp/v3.0/patient/aidRecord
POST http://127.0.0.1:7230/v3.0/patient/aidRecord
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1420652719055839232",
4 years ago
"userType":1,
4 years ago
"codeAndAnswerList":[
{
4 years ago
"questionCode":"fffffffffffffffffff",
"answer":[
"1",
"2"
]
},
{
"questionCode":"sssssss",
"answer":[]
4 years ago
}
]
}
}
4 years ago
### 批量查询code信息
# POST http://www.tall.wiki/gateway/qcp/v3.0/patient/queryAidRecord
POST http://127.0.0.1:7230/v3.0/patient/queryAidRecordN
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1420652719055839232,
"codeList":[
"fffffffffffffffffff",
"sssssss"
]
}
}
4 years ago
//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字典
4 years ago
POST {{localhost}}/dictionaries/importCode
# POST {{www}}/dictionaries/importCode
4 years ago
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
4 years ago
< C:\Users\dou\Desktop\code字典表.xlsx
4 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
4 years ago
### 查找患者列表
# POST http://www.tall.wiki/gateway/qcp/v3.0/patient/query
POST http://127.0.0.1:7230/v3.0/patient/query
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"type":0,
"patientName":""
4 years ago
}
}
4 years ago
###
4 years ago
POST http://www.tall.wiki/gateway/qcp/v3.0/patient/queryAidRecord
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":1420652719055839232,
"code":"RYPG"
4 years ago
}
}
4 years ago
### 时间沙漏
4 years ago
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
}
}
4 years ago
### 查询急救标准信息
POST {{localhost}}/statistical/getPointTime
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"projectId": "1420652719055839232",
"type":0
}
4 years ago
}