From 2c7af227a672d2170bdb812ea280629e84bd5c9b Mon Sep 17 00:00:00 2001 From: zy_Java <654600784@qq.com> Date: Thu, 1 Apr 2021 09:27:00 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 文件管理/file/file.http | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/文件管理/file/file.http b/文件管理/file/file.http index e69de29..aa7c22e 100644 --- a/文件管理/file/file.http +++ b/文件管理/file/file.http @@ -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 {{localhostTall}}/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 +] + \ No newline at end of file From 78f77c81c449e89d79137a4e39f135d80d018c85 Mon Sep 17 00:00:00 2001 From: zy_Java <654600784@qq.com> Date: Thu, 1 Apr 2021 09:27:17 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tall/project/project.http | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tall/project/project.http b/tall/project/project.http index e12ce1e..cf283b0 100644 --- a/tall/project/project.http +++ b/tall/project/project.http @@ -14,7 +14,15 @@ POST {{test}}/users/signin "type": 3, "data": { "identifier": "zy11", - "credential": "123465" + "credential": "123456" } } + +### 测试-调用文件系统获取文件信息 +GET {{localhost}}/debug/htt +{{type}} + +[ + 1321760076465311744 +] From 18f44ba79c795cc8065ea2a6849be7d6698cca4c Mon Sep 17 00:00:00 2001 From: zy_Java <654600784@qq.com> Date: Thu, 1 Apr 2021 10:32:45 +0800 Subject: [PATCH 03/10] =?UTF-8?q?=E5=AF=BC=E5=85=A5wbs=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tall/project/project.http | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tall/project/project.http b/tall/project/project.http index cf283b0..1d5b60d 100644 --- a/tall/project/project.http +++ b/tall/project/project.http @@ -26,3 +26,17 @@ GET {{localhost}}/debug/htt [ 1321760076465311744 ] + + + +### 导入WBS +POST {{localhost}}/projects/wbs +Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW + +title +------WebKitFormBoundary7MA4YWxkTrZu0gW +Content-Disposition: form-data; name="file"; filename="绿谷研究院项目管理WBS.xlsx" +Content-Type: xlsx + +< C:\Users\dou\Desktop\维基后台WBS-1.0-20210324.xlsx +------WebKitFormBoundary7MA4YWxkTrZu0gW-- \ No newline at end of file From 4398ce281d8ed8390302423bcf92ae9d9a97d1d6 Mon Sep 17 00:00:00 2001 From: wang0018 <1007152140@qq.com> Date: Thu, 1 Apr 2021 10:34:04 +0800 Subject: [PATCH 04/10] =?UTF-8?q?=E6=8B=89=E4=B8=9C=E8=A5=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tall/project/project.http | 1 + 1 file changed, 1 insertion(+) diff --git a/tall/project/project.http b/tall/project/project.http index e12ce1e..64175e6 100644 --- a/tall/project/project.http +++ b/tall/project/project.http @@ -18,3 +18,4 @@ POST {{test}}/users/signin } } +### \ No newline at end of file From f508f159ab838b0a878d7642850d9b1776bb2c29 Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Thu, 1 Apr 2021 18:51:04 +0800 Subject: [PATCH 05/10] =?UTF-8?q?=E4=B8=AD=E5=8C=BB=E8=8D=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- 中医药/中医药测试.http | 31 ++++++++++++++++++++++++------- 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 58c86cf..ba34529 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -存放测试文档 \ No newline at end of file +存放测试文档 +每一个项目创建一个文件夹 +每一个模块创建一个http文件 \ No newline at end of file diff --git a/中医药/中医药测试.http b/中医药/中医药测试.http index e851083..2bc7ab6 100644 --- a/中医药/中医药测试.http +++ b/中医药/中医药测试.http @@ -1,8 +1,10 @@ ### @www = https://www.tall.wiki/gateway/tcm @test = http://test.tall.wiki/gateway/tcm -@green = https://www.sxwikionline.com/gateway/tcm +@wiki = https://www.sxwikionline.com/gateway/tcm @loaclhost = http://localhost:7150 +@loaclhost_tall = http://localhost:7030/v1.0 + @type = content-type: application/json;charset=utf-8 @@ -10,7 +12,7 @@ # @name login # POST http://test.tall.wiki/gateway/tall/v1.0/users/signin -POST http://www.tall.wiki/gateway/tall/v1.0/users/signin +POST {{loaclhost_tall}}/users/signin # POST http://localhost:7030/v1.0/users/signin {{type}} @@ -24,18 +26,33 @@ POST http://www.tall.wiki/gateway/tall/v1.0/users/signin "type": 3 } +### 通用文字识别 +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:颈动脉超声 + + ### 更新redis内的试题信息 # POST {{test}}/import/updateRedis -POST {{green}}/import/updateRedis +POST {{wiki}}/import/updateRedis {{type}} Authorization: Bearer {{login.response.body.$.data.token}} - - ### 查看所有试题信息 -Post {{green}}/question/queryAll +Post {{wiki}}/question/queryAll {{type}} Authorization: Bearer {{login.response.body.$.data.token}} @@ -53,7 +70,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} ### 查看患者的试题和答题信息 -Post {{green}}/question/query +Post {{wiki}}/question/query {{type}} Authorization: Bearer {{login.response.body.$.data.token}} From a97196188f738412c24986f527c2c04b423b7297 Mon Sep 17 00:00:00 2001 From: ma <1062634917@qq.com> Date: Fri, 2 Apr 2021 09:31:05 +0800 Subject: [PATCH 06/10] =?UTF-8?q?=E6=B5=8B=E8=AF=95tall?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tall/input/input.http | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tall/input/input.http diff --git a/tall/input/input.http b/tall/input/input.http new file mode 100644 index 0000000..e69de29 From 0dbb131ec6de46e639cbb9175c816c95e36b64c8 Mon Sep 17 00:00:00 2001 From: ma <1062634917@qq.com> Date: Fri, 2 Apr 2021 16:10:40 +0800 Subject: [PATCH 07/10] =?UTF-8?q?=E6=8F=92=E4=BB=B6=E5=92=8C=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=96=87=E6=A1=A3=E7=9A=84=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tall/input/input.http | 115 ++++++++++++++++++++++++++++++++++++++++ tall/plugin/plugin.http | 93 ++++++++++++++++++++++++++++++++ 文件管理/file/file.http | 2 +- 3 files changed, 209 insertions(+), 1 deletion(-) create mode 100644 tall/plugin/plugin.http diff --git a/tall/input/input.http b/tall/input/input.http index e69de29..7bc97d8 100644 --- a/tall/input/input.http +++ b/tall/input/input.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" + } +} \ No newline at end of file diff --git a/tall/plugin/plugin.http b/tall/plugin/plugin.http new file mode 100644 index 0000000..60aab21 --- /dev/null +++ b/tall/plugin/plugin.http @@ -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" + } +} \ No newline at end of file diff --git a/文件管理/file/file.http b/文件管理/file/file.http index aa7c22e..cbe3482 100644 --- a/文件管理/file/file.http +++ b/文件管理/file/file.http @@ -8,7 +8,7 @@ ### 登录 # @name login -POST {{localhostTall}}/users/signin +POST {{testFile}}/users/signin {{type}} { From 848bd30fdd532037bbe668a65a201d7116cbfd6e Mon Sep 17 00:00:00 2001 From: wang0018 <1007152140@qq.com> Date: Fri, 2 Apr 2021 16:39:12 +0800 Subject: [PATCH 08/10] tijiao --- tall/project/project.http | 51 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git a/tall/project/project.http b/tall/project/project.http index 6f49880..be06e9a 100644 --- a/tall/project/project.http +++ b/tall/project/project.http @@ -1,11 +1,13 @@ @tall = https://www.tall.wiki/gateway/tall/v1.0 @test = https://test.tall.wiki/gateway/tall/v1.0 -@localhost = http://localhost:7030 +@localhost = http://localhost:7030/v1.0 @type = content-type: application/json;charset=utf-8 +@token= eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTczMjg2MDksInN1YiI6IjEyMTgwMjUyNDk0OTMzNTY1NDQiLCJhdXRoSWQiOiIxMTgzNjM2MjkxNjQ5MTQ2ODgwIiwiZXhwIjoxNjE3NDE1MDA5fQ.22OvohHsYtuR527otz6A1p8Ebft9O3UM5bSFysh1Hwc + ### 登录 # @name login -POST {{test}}/users/signin +POST {{localhost}}/users/signin # POST http://localhost:7030/v1.0/users/signin {{type}} @@ -13,7 +15,7 @@ POST {{test}}/users/signin "client": 1, "type": 3, "data": { - "identifier": "zy11", + "identifier": "chen", "credential": "123456" } } @@ -27,7 +29,50 @@ GET {{localhost}}/debug/htt 1321760076465311744 ] +### 测试-根据项目id获取二级角色列表 +GET {{localhost}}/projects/1377463632086044672/roles +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +### 测试-查询项目下得所有角色。包含未添加得和已添加得 +POST {{localhost}}/roles/queryRoleShows +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId":1377463632086044672 + } +} + +### 测试-修改角色是否展示 +POST {{localhost}}/roles/queryRoleIsShows +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId":1377463632086044672, + "roleIds":[ + 1377463635445682176 + ], + "isShow":true + } +} +### 测试-对角色排序 +POST {{localhost}}/roles/upRoleShowsOrder +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId":1377463632086044672, + "roleIds":[ + 1377463635974164480,1377463636209045504,1377463635760254976,1377463635445682176 + ] + } +} ### 导入WBS POST {{localhost}}/projects/wbs From 7cc57724a392adccb77f23d58c2434bd23b4acc3 Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Fri, 2 Apr 2021 16:51:34 +0800 Subject: [PATCH 09/10] ht --- HT/认知.http | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 HT/认知.http diff --git a/HT/认知.http b/HT/认知.http new file mode 100644 index 0000000..894c357 --- /dev/null +++ b/HT/认知.http @@ -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 + } +} + + +### 查询历史报告单 +{{sxzxyzzlm_question}}/queryReports +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "patientId": "1369189040502611968", + "pageNum": 1, + "pageSize": 15 + } +} From 20c2260ef75d5464eed505ab513e15ffb1c07c90 Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Fri, 2 Apr 2021 16:56:45 +0800 Subject: [PATCH 10/10] post --- HT/认知.http | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HT/认知.http b/HT/认知.http index 894c357..5777a71 100644 --- a/HT/认知.http +++ b/HT/认知.http @@ -108,7 +108,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} ### 查询历史报告单 -{{sxzxyzzlm_question}}/queryReports +POST {{sxzxyzzlm_question}}/queryReports {{type}} Authorization: Bearer {{login.response.body.$.data.token}}