7 changed files with 468 additions and 12 deletions
@ -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 |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
### 查询历史报告单 |
||||
|
POST {{sxzxyzzlm_question}}/queryReports |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"patientId": "1369189040502611968", |
||||
|
"pageNum": 1, |
||||
|
"pageSize": 15 |
||||
|
} |
||||
|
} |
||||
@ -1 +1,3 @@ |
|||||
存放测试文档 |
存放测试文档 |
||||
|
每一个项目创建一个文件夹 |
||||
|
每一个模块创建一个http文件 |
||||
@ -0,0 +1,115 @@ |
|||||
|
@tall = https://www.tall.wiki/gateway/tall/v1.0 |
||||
|
@test = https://test.tall.wiki/gateway/tall/v1.0 |
||||
|
@localhost = http://localhost:7030 |
||||
|
@type = content-type: application/json;charset=utf-8 |
||||
|
|
||||
|
### 登录 |
||||
|
# @name login |
||||
|
POST {{test}}/users/signin |
||||
|
# POST http://localhost:7030/v1.0/users/signin |
||||
|
{{type}} |
||||
|
|
||||
|
{ |
||||
|
"client": 1, |
||||
|
"type": 3, |
||||
|
"data": { |
||||
|
"identifier": "zy11", |
||||
|
"credential": "123456" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
#删除输入文档的文件 |
||||
|
###F |
||||
|
# POST http://localhost:7030/v1.0/inputDoc/delDocOfFile |
||||
|
POST {{test}}/inputDoc/delDocOfFile |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"recordId":"1377820258844413952" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
#给输入文档上传文件 |
||||
|
###F |
||||
|
# POST http://localhost:7030/v1.0/inputDoc/uploadForDoc |
||||
|
POST {{test}}/inputDoc/uploadForDoc |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"docId":"1377815853025857536", |
||||
|
"remark":"标准测试备注" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
###F |
||||
|
#删除输入文档 |
||||
|
# POST http://localhost:7030/v1.0/inputDoc/delDoc |
||||
|
POST {{test}}/inputDoc/delDoc |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"docId":1377815853025857536 |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
###F |
||||
|
#修改输入文档 |
||||
|
# POST http://localhost:7030/v1.0/inputDoc/updateDoc |
||||
|
POST {{test}}/inputDoc/updateDoc |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"docId":1377815853025857536, |
||||
|
"fileName":"测试修改文档1" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
###F |
||||
|
#添加输入文档 |
||||
|
# POST http://localhost:7030/v1.0/inputDoc/addDoc |
||||
|
POST {{test}}/inputDoc/addDoc |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"taskId":"1", |
||||
|
"fileName":["标准测试文档1","标准测试文档2"] |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
#根据id查询文档详情 |
||||
|
###F |
||||
|
# POST http://localhost:7030/v1.0/inputDoc/docByTask |
||||
|
POST {{test}}/inputDoc/docByTask |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"taskId":1 |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
#查看输入文档历史记录(需修改) |
||||
|
###F |
||||
|
# POST http://localhost:7030/v1.0/inputDoc/viewDocHistory |
||||
|
POST {{test}}/inputDoc/viewDocHistory |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"docId":"1" |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,93 @@ |
|||||
|
@tall = https://www.tall.wiki/gateway/tall/v1.0 |
||||
|
@test = https://test.tall.wiki/gateway/tall/v1.0 |
||||
|
@localhost = http://localhost:7030 |
||||
|
@type = content-type: application/json;charset=utf-8 |
||||
|
|
||||
|
### 登录 |
||||
|
# @name login |
||||
|
POST {{test}}/users/signin |
||||
|
# POST http://localhost:7030/v1.0/users/signin |
||||
|
{{type}} |
||||
|
|
||||
|
{ |
||||
|
"client": 1, |
||||
|
"type": 3, |
||||
|
"data": { |
||||
|
"identifier": "zy11", |
||||
|
"credential": "123456" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
#根据任务id查询插件列表(该任务已添加的) |
||||
|
###F |
||||
|
# POST http://localhost:7030/v1.0/plugins/findPluginOfAdded |
||||
|
POST {{test}}/plugins/findPluginOfAdded |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"taskId":"1365119892432490496", |
||||
|
"roleId":"1365119891782373376" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
#根据任务id查询插件列表(该任务未添加的的) |
||||
|
###F |
||||
|
# POST http://localhost:7030/v1.0/plugins/findPluginOfNoAdded |
||||
|
POST {{test}}/plugins/findPluginOfNoAdded |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"taskId":"1", |
||||
|
"roleId":"1" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
#给插件总表添加插件 |
||||
|
###F |
||||
|
# POST http://localhost:7030/v1.0/plugins/save |
||||
|
POST {{test}}/plugins/save |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"name":"test-one-fuwuqi", |
||||
|
"description":"测试插件服务器" |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
|
||||
|
#给任务添加插件 |
||||
|
###F |
||||
|
# POST http://localhost:7030/v1.0/plugins/addPluginForTask |
||||
|
POST {{test}}/plugins/addPluginForTask |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"pluginId":"1", |
||||
|
"taskId":"1365120545775030272", |
||||
|
"roleId":"1365119891782373376" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
#给任务删除插件 |
||||
|
###F |
||||
|
# POST http://localhost:7030/v1.0/plugins/deletePluginForTask |
||||
|
POST {{test}}/plugins/deletePluginForTask |
||||
|
{{type}} |
||||
|
Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
{ |
||||
|
"param": { |
||||
|
"taskId":"1365120545775030272", |
||||
|
"roleId":"1365119891782373376", |
||||
|
"pluginId":"1" |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,40 @@ |
|||||
|
@localhost = http://localhost:8001 |
||||
|
@testTall = https://test.tall.wiki/gateway/tall/v1.0 |
||||
|
@localhostTall = http://localhost:7030/v1.0 |
||||
|
@testFile = https://test.tall.wiki/filedeal |
||||
|
@type = content-type: application/json;charset=utf-8 |
||||
|
@token = Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
|
||||
|
### 登录 |
||||
|
# @name login |
||||
|
POST {{testFile}}/users/signin |
||||
|
{{type}} |
||||
|
|
||||
|
{ |
||||
|
"client": 1, |
||||
|
"type": 3, |
||||
|
"data": { |
||||
|
"identifier": "zy11", |
||||
|
"credential": "123456" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
### debug |
||||
|
GET {{localhostTall}}/debug/htt |
||||
|
# GET {{testFile}}/debug/htt |
||||
|
{{type}} |
||||
|
|
||||
|
[ |
||||
|
1321760076465311744 |
||||
|
] |
||||
|
|
||||
|
|
||||
|
### 根据id查询文件信息 |
||||
|
POST {{testFile}}/file/query |
||||
|
{{type}} |
||||
|
|
||||
|
[ |
||||
|
1321760076465311744 |
||||
|
] |
||||
|
|
||||
Loading…
Reference in new issue