diff --git a/HT/认知.http b/HT/认知.http index 4f15baf..e17f4ae 100644 --- a/HT/认知.http +++ b/HT/认知.http @@ -4,7 +4,7 @@ @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.4.113/gateway/tall-ht/v1.0 @sd_tall = https://sd.tall.wiki/gateway/tall/v1.0 @@ -18,7 +18,7 @@ ### login # @name login -POST {{sd_tall}}/users/signin +POST {{test_tall}}/users/signin # POST {{localhost_tall}}/users/signin {{type}} @@ -195,15 +195,15 @@ Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\ ------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-- ### 导入指定测评 @@ -227,7 +227,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "id": "1341582151497420800" + "id": "1341582151497420800" } } @@ -239,7 +239,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { "id": "1397815195593740288" , - "code": "MMSE" + "code": "MMSE" } } @@ -250,7 +250,18 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "parentCode": "KT" + "parentCode": "KT" + } +} +### 报告单详情 +POST {{test_ht}}/queryReportDetail +{{type}} + Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "id": 1392019589705109504, + "report":"REPORT1.1" } } @@ -295,8 +306,8 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "patientReportId": "1385191545782800384", - "questionId": "1340952996439265280" + "patientReportId": "1398098337596575744", + "questionId": "1207564351553277953" } } @@ -307,21 +318,18 @@ 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 - } + ] - + } } ### 查询试题 @@ -335,6 +343,28 @@ Authorization: Bearer {{login.response.body.$.data.token}} "code":"SCWT", "num":1 - + + } +} + + +### 保存试题其他记录 +POST {{test_ht}}/saveRecord +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "patientReportId":1390960465944907776, + "details":[ + { + "recordId":1386940287842127872, + "answers":["胳膊,猫,自行车"] + }, + { + "recordId":1386940288190255104, + "answers":["1"] + } + ] } } diff --git a/中医药/中医药测试.http b/中医药/中医药测试.http index 5475297..b7f4d2e 100644 --- a/中医药/中医药测试.http +++ b/中医药/中医药测试.http @@ -2,8 +2,8 @@ @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 -@www_tall = https://www.tall.wiki/gateway/tall/v1.0 @loaclhost = http://localhost:7150 @loaclhost_tall = http://localhost:7030/v1.0 @@ -14,8 +14,8 @@ # @name login # POST http://test.tall.wiki/gateway/tall/v1.0/users/signin -POST {{www_tall}}/users/signin -# POST http://localhost:7030/v1.0/users/signin +# POST {{wiki_tall}}/users/signin +POST {{loaclhost_tall}}/users/signin {{type}} { @@ -42,7 +42,7 @@ Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\ ------WebKitFormBoundary7MA4YWxkTrZu0gW-- ### 导入试题 -Post {{www}}/import/all +Post {{wiki}}/import/all Authorization: Bearer {{login.response.body.$.data.token}} Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW @@ -69,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 } } @@ -254,8 +254,9 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "authority": 1, - "role":0 + "authority": 2, + "role":0, + "hospitalId": 5 } } @@ -271,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" + } +} 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