From bbdca33bb193bbf6a0b17d478f1abd3e2dda501a Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Wed, 2 Jun 2021 16:51:00 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=99=BA=E6=85=A7=E5=B9=B3=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 智慧平车/智慧平车接口测试.http | 91 ++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 智慧平车/智慧平车接口测试.http diff --git a/智慧平车/智慧平车接口测试.http b/智慧平车/智慧平车接口测试.http new file mode 100644 index 0000000..2829bff --- /dev/null +++ b/智慧平车/智慧平车接口测试.http @@ -0,0 +1,91 @@ +@www = https://test.tall.wiki/gateway/logistics/ +@green = https://www.sxwikionline.com/gateway/greenvalley +@wiki = https://www.sxwikionline.com/gateway/wiki +@type = content-type: application/json;charset=utf-8 +@type1 = content-type: application/x-www-form-urlencoded +@typeNew = userId:3345 +@localhost = http://localhost:7170/v1.0 +@localhostTall = http://localhost:7030/v1.0 +@localhostCar = http://localhost:7120 +@testTall = http://192.168.4.113/gateway/tall/v1.0 +@testWisdomCar = http://192.168.4.113/gateway/wisdomcar +@wwww = https://www.tall.wiki/gateway/tall/v1.0 + +### login + +# @name login +POST {{localhostTall}}/users/signin +# POST http://localhost:7030/v1.0/users/signin +{{type}} + +{ + "client": 1, + "data": { + "credential": "123456", + "identifier": "mazhuang" + }, + "scene": 0, + "type": 3 +} + +#创建病例 +### +POST http://localhost:7120/car/createCase +# POST {{www}}mbps/selAllMbps +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "patientName":"张三", + "familyName":"张三家长", + "familyPhone":"13233032293" + } +} + + +#测试 +###F +POST http://localhost:7120/statistics/get/selResult +# POST {{www}}mbps/selAllMbps +{{type}} + +{ + "param":{ + "year":2020, + "hospitalId":0 + } +} + +### 查询空闲平车 +POST {{testWisdomCar}}/car/free +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + + } +} + +### 查询称重和剂量 +POST {{localhostCar}}/project/weight +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "taskSubId":1 + } +} + +### 点击开始 +POST {{localhostCar}}/project/start +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "taskSubId":1 + } +} \ No newline at end of file From a9bc3cfb1ca88fa54ce2922e5db3a061c7e87b46 Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Wed, 2 Jun 2021 16:51:15 +0800 Subject: [PATCH 2/3] =?UTF-8?q?ht=E5=92=8C=E4=B8=AD=E5=8C=BB=E8=8D=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HT/认知.http | 58 ++++++++++++++++++++++++++++++++---------- 中医药/中医药测试.http | 37 ++++++++++++++++++--------- 2 files changed, 69 insertions(+), 26 deletions(-) diff --git a/HT/认知.http b/HT/认知.http index 2b79dcb..34e745d 100644 --- a/HT/认知.http +++ b/HT/认知.http @@ -4,9 +4,9 @@ @localhost_question = http://127.0.0.1:7160 @localhost_ht = http://127.0.0.1:7040 @localhost_tall = http://127.0.0.1:7030/v1.0 -# @test_ht = http://192.168.31.13/gateway/ht +# @test_ht = http://192.168.4.113/gateway/ht @test_ht = http://test.tall.wiki/gateway/ht -@test_tall = http://192.168.31.13/gateway/tall-ht/v1.0 +@test_tall = http://192.168.4.113/gateway/tall-ht/v1.0 @sd_tall = https://sd.tall.wiki/gateway/tall/v1.0 @sd_ht = https://sd.tall.wiki/gateway/ht @@ -19,7 +19,7 @@ ### login # @name login # POST {{sd_tall}}/users/signin -POST {{test_tall}}/users/signin +POST {{localhost_tall}}/users/signin {{type}} { @@ -102,6 +102,17 @@ POST {{localhost_question}}/patientReport/searchParam "parentCode": "KT" } } +### 报告单详情 +POST {{test_ht}}/queryReportDetail +{{type}} + Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "id": 1392019589705109504, + "report":"REPORT1.1" + } +} ### 搜索报告单 POST {{test_ht}}/patientReport/search @@ -144,8 +155,8 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "patientReportId": "1385191545782800384", - "questionId": "1340952996439265280" + "patientReportId": "1398098337596575744", + "questionId": "1207564351553277953" } } @@ -156,19 +167,16 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { + "patientName":"小吴", "startAge":0, "endAge":100, - "patientSex":0, - "educationalStatus":4, - "startEducationalStatusUnit":0, - "endEducationalStatusUnit":100, + "patientSex":null, + "educationalStatus":null, + "startEducationalStatusUnit":null, + "endEducationalStatusUnit":null, "clinicalDiagnosis":null, "scores":[ - { - "code":"MMSE", - "start":0, - "end":100 - } + ] } @@ -187,3 +195,25 @@ Authorization: Bearer {{login.response.body.$.data.token}} } } + + +### 保存试题其他记录 +POST {{test_ht}}/saveRecord +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "patientReportId":1390960465944907776, + "details":[ + { + "recordId":1386940287842127872, + "answers":["胳膊,猫,自行车"] + }, + { + "recordId":1386940288190255104, + "answers":["1"] + } + ] + } +} \ No newline at end of file diff --git a/中医药/中医药测试.http b/中医药/中医药测试.http index 9f496de..73cad52 100644 --- a/中医药/中医药测试.http +++ b/中医药/中医药测试.http @@ -2,7 +2,9 @@ @www = https://www.tall.wiki/gateway/tcm @test = http://test.tall.wiki/gateway/tcm @wiki = http://sxzxyzzlm.tall.wiki/gateway/tcm +@wiki_question = http://sxzxyzzlm.tall.wiki/gateway/question @wiki_tall = https://sxzxyzzlm.tall.wiki/gateway/tall/v1.0 + @loaclhost = http://localhost:7150 @loaclhost_tall = http://localhost:7030/v1.0 @@ -13,15 +15,15 @@ # @name login # POST http://test.tall.wiki/gateway/tall/v1.0/users/signin -POST {{wiki_tall}}/users/signin -# POST http://localhost:7030/v1.0/users/signin +# POST {{wiki_tall}}/users/signin +POST {{loaclhost_tall}}/users/signin {{type}} { "client": 1, "data": { "credential": "123456", - "identifier": "doctor" + "identifier": "doctorli" }, "scene": 0, "type": 3 @@ -41,17 +43,16 @@ Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\ ------WebKitFormBoundary7MA4YWxkTrZu0gW-- ### 导入试题 -Post {{loaclhost}}/import/all +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" +Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\病历汇总v1.3-20210510.xlsx" -< C:\Users\dou\Desktop\病历汇总v1.1-20210409.xlsx -# < C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx +< C:\Users\23778\Downloads\病历汇总v1.3-20210510.xlsx ------WebKitFormBoundary7MA4YWxkTrZu0gW-- @@ -68,9 +69,9 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "hospitalId":1, - "code":"JLDPLXGCS", - "url":"http://sxzxyzzlm.tall.wiki/gateway/tcm/uploads/upload/20210425/62a783634cd041ea9badde68a6e96b55.jpg" + "patientId":1390611940237385728, + "code":"TLCTPS", + "fileId":1392038920719704064 } } @@ -253,8 +254,9 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "authority": 1, - "role":0 + "authority": 2, + "role":0, + "hospitalId": 5 } } @@ -270,3 +272,14 @@ Authorization: Bearer {{login.response.body.$.data.token}} "pageSize":10 } } +### 查询患者未完成的报告单信息 +Post {{wiki_question}}/checkPatientComplete +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "patientId": 1391646303876030464, + "serialNumber":"test" + } +} From c1a0d104ca698bfbdb6bc92c05f151055d7bbe2e Mon Sep 17 00:00:00 2001 From: binbin0314 Date: Wed, 2 Jun 2021 17:21:38 +0800 Subject: [PATCH 3/3] =?UTF-8?q?ht=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HT/认知.http | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/HT/认知.http b/HT/认知.http index ab9746d..71aa378 100644 --- a/HT/认知.http +++ b/HT/认知.http @@ -5,10 +5,10 @@ @localhost_ht = http://127.0.0.1:7040 @localhost_tall = http://127.0.0.1:7030/v1.0 # @test_ht = http://192.168.31.13/gateway/ht -@test_ht = http://test.tall.wiki/gateway/ht -@test_tall = http://192.168.0.99/gateway/tall/v1.0 -@sd_tall = https://sd.tall.wiki/gateway/tall/v1.0 -@sd_ht = https://sd.tall.wiki/gateway/ht +@test_ht = http://192.168.4.113/gateway/ht +@test_tall = http://192.168.4.113/gateway/tall-ht/v1.0 +# @sd_tall = https://sd.tall.wiki/gateway/tall/v1.0 +# @test_ht = https://sd.tall.wiki/gateway/ht @type = content-type: application/json;charset=utf-8 @@ -18,8 +18,8 @@ ### login # @name login -# POST {{sd_tall}}/users/signin -POST {{localhost_tall}}/users/signin +POST {{test_tall}}/users/signin +# POST {{localhost_tall}}/users/signin {{type}} { @@ -38,34 +38,34 @@ Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0g title ------WebKitFormBoundary7MA4YWxkTrZu0gW -Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\导入数据.xlsx" +Content-Disposition: form-data; name="file"; filename="C:\Users\86183\Desktop\导入数据.xlsx" # Content-Type: image/png -< C:\Users\23778\Downloads\导入数据.xlsx +< C:\Users\86183\Desktop\导入数据.xlsx ------WebKitFormBoundary7MA4YWxkTrZu0gW-- ### 导入类型 -POST {{sd_ht}}/importReportType +POST {{test_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-Disposition: form-data; name="file"; filename="C:\Users\86183\Desktop\导入数据.xlsx" # Content-Type: image/png -< C:\Users\23778\Downloads\1.xlsx +< C:\Users\86183\Desktop\导入数据.xlsx ------WebKitFormBoundary7MA4YWxkTrZu0gW-- ### 导入指定测评 -POST {{sd_ht}}/importEvaluation?code=LBD +POST {{test_ht}}/importEvaluation?code=DST Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW title ------WebKitFormBoundary7MA4YWxkTrZu0gW -Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\1.xlsx" +Content-Disposition: form-data; name="file"; filename="C:\Users\86183\Desktop\导入数据.xlsx" # Content-Type: image/png -< C:\Users\23778\Downloads\1.xlsx +< C:\Users\86183\Desktop\导入数据.xlsx ------WebKitFormBoundary7MA4YWxkTrZu0gW-- @@ -76,7 +76,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "id": "1341582151497420800" + "id": "1341582151497420800" } } @@ -88,7 +88,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { "id": "1385245118524690432" , - "code": "ADL" + "code": "ADL" } } @@ -99,7 +99,7 @@ POST {{localhost_question}}/patientReport/searchParam { "param": { - "parentCode": "KT" + "parentCode": "KT" } }