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.

169 lines
3.7 KiB

5 years ago
###
@www = https://www.tall.wiki/gateway/tcm
@test = http://test.tall.wiki/gateway/tcm
4 years ago
@wiki = http://sxzxyzzlm.tall.wiki/gateway/tcm
@wiki_tall = https://sxzxyzzlm.tall.wiki/gateway/tall/v1.0
5 years ago
@loaclhost = http://localhost:7150
5 years ago
@loaclhost_tall = http://localhost:7030/v1.0
5 years ago
@type = content-type: application/json;charset=utf-8
### login
# @name login
# POST http://test.tall.wiki/gateway/tall/v1.0/users/signin
4 years ago
POST {{wiki_tall}}/users/signin
5 years ago
# POST http://localhost:7030/v1.0/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "zy11"
},
"scene": 0,
"type": 3
}
4 years ago
### 导入试题类型
Post {{wiki}}/import/code
Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx"
< C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入试题
Post {{wiki}}/import/all
Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx"
< C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 更新缓存
Post {{wiki}}/import/updateRedis
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
5 years ago
### 通用文字识别
Post {{loaclhost}}/ocr/general/basic
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalId":1,
"code":"JLDPLXGCS",
"url":"https://www.tall.wiki/staticrec/test/4.jpg"
}
}
# 1:血常规 2:凝血系列 3:颈动脉超声
5 years ago
### 更新redis内的试题信息
# POST {{test}}/import/updateRedis
5 years ago
POST {{wiki}}/import/updateRedis
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
### 查看所有试题信息
5 years ago
Post {{wiki}}/question/queryAll
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"code":"BSXG"
}
}
### 查询所有对照组信息
POST {{test}}/inpatient/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
### 查看患者的试题和答题信息
4 years ago
Post {{loaclhost}}/question/query
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
4 years ago
"id":"1369189040502611968",
"code":"BSXG",
5 years ago
"nums":0
}
}
### 统计病例完成情况
Post {{loaclhost}}/statistics/complete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalId":"",
"userId":""
}
}
### 统计各个医院的病例完成情况
Post {{loaclhost}}/statistics/hospital/complete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalId":"",
"userId":""
}
}
### 统计各个医院的病例完成情况
Post {{test}}/patient/selSearchCriteriaList
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
### 添加会议记录
Post {{loaclhost}}/conferenceRecords/save
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"taskId":"123456",
"startTime":"2021-02-02 01:02:03",
"endTime":"2021-02-08 01:02:03",
"place":"在家",
"host":"自己",
"participants":"全家",
"discussionContent":"讨论晚上吃啥",
"meetingMinutes":"随便"
}
}