From fe27ecee759bdbcf9f27bab019b6f373b96ad78e Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Wed, 30 Jun 2021 16:50:25 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HT/认知.http | 34 +++++++++++++++++++--------------- 智慧平车/智慧平车接口测试.http | 23 +++++++++++++++++++++++ 2 files changed, 42 insertions(+), 15 deletions(-) diff --git a/HT/认知.http b/HT/认知.http index a22a942..7777987 100644 --- a/HT/认知.http +++ b/HT/认知.http @@ -18,13 +18,8 @@ ### login # @name login -<<<<<<< HEAD -# POST {{sd_tall}}/users/signin -POST {{test_tall}}/users/signin -======= -POST {{test_tall}}/users/signin +POST {{localhost_tall}}/users/signin # POST {{localhost_tall}}/users/signin ->>>>>>> c82a814886a0c7726d3859c230dbb96a14df9681 {{type}} { @@ -140,20 +135,22 @@ Authorization: Bearer {{login.response.body.$.data.token}} } } ### 保存答案 -POST {{localhost_ht}}/saveScore +POST {{test_ht}}/saveScore {{type}} -Authorization: Bearer {{login.response.body.$.data.token}} +Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MjM4OTQzMTEsInN1YiI6IjEyMDIwNjQxMjAwNDA1MjU4MjQiLCJhdXRoSWQiOiIxMjAyMDY0MTIwMDU3MzAzMDQwIiwiZXhwIjoxNjIzOTgwNzExfQ.-kIOru_kIGf7d94tmTOlqn8P_orEPOLyRncGpAgpo1I +# Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "questionId":"1394959220532711424", - "patientReportId": "1397833716453216256", + "questionId":"1207564351532306432", + "patientReportId": "1405340858097733632", "options":[ { - "id":1397853959561023488, - "score":55 + "id":1207564351540695042, + "answerTime":1623739478737 } - ] + ], + "paths": ["https://test.tall.wiki/gateway/ht/uploads/file/2021-06-17/162389435835656.png"] } } @@ -212,7 +209,7 @@ Content-Disposition: form-data; name="file"; filename="C:\Users\86183\Desktop\ ------WebKitFormBoundary7MA4YWxkTrZu0gW-- ### BNT LFT DST ### 导入指定测评 -POST {{sd_ht}}/importEvaluation?code=AVLT +POST {{localhost_ht}}/importEvaluation?code=SZFHJC Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW title @@ -344,7 +341,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { "patientReportId":1397833716453216256, - "code":"SCWT", + "code":"SZFHJC", "num":1 @@ -372,3 +369,10 @@ Authorization: Bearer {{login.response.body.$.data.token}} ] } } + +### 语音 +POST https://cloud.baidu.com/aidemo +Content-Type: application/x-www-form-urlencoded + +type=tns&per=4119&spd=1&pit=5&vol=5&aue=6&tex=胳膊,猫,刀 + diff --git a/智慧平车/智慧平车接口测试.http b/智慧平车/智慧平车接口测试.http index 0a0b4e0..fa59d65 100644 --- a/智慧平车/智慧平车接口测试.http +++ b/智慧平车/智慧平车接口测试.http @@ -157,4 +157,27 @@ POST https://www.tall.wiki/gateway/wisdomcar2/debug/record } } +### 查询进度 +POST http://192.168.4.113/gateway/wisdomcar2/step/findStepIsOver +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId":1403241411276574720 + } +} + + +### ceshi +POST http://127.0.0.1:7120/debug/record +{{type}} +{ + "param":{ + "authId": 146, + "time": 1623399900665, + "type": "2", + "value": "2" + } +} \ No newline at end of file From 1bcae81f0a9d5c1053df6f0ed3137982ea1e68e9 Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Wed, 28 Jul 2021 17:41:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=B0=83=E5=BA=A6=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TALL3/tall.http | 33 +++++++++++++ 中医药/中医药测试.http | 14 +++--- 调度系统/调度系统.http | 106 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 147 insertions(+), 6 deletions(-) create mode 100644 TALL3/tall.http create mode 100644 调度系统/调度系统.http diff --git a/TALL3/tall.http b/TALL3/tall.http new file mode 100644 index 0000000..41d8fa0 --- /dev/null +++ b/TALL3/tall.http @@ -0,0 +1,33 @@ +@localhost = http://localhost:7130 +@type = content-type: application/json;charset=utf-8 + +### 登录 +# @name login +POST {{localhost}}/users/signin +{{type}} + +{ + "client": 1, + "type": 3, + "data": { + "identifier": "whj", + "credential": "123456" + } +} + +### 修改账号 + +POST {{localhost}}/users/password/account +{{type}} + +{ + "account": "whj", + "passwordOld": "123456", + "passwordNew": "1234567" +} + + +### debug + +POST {{localhost}}/debug +md5: db06c78d1e24cf708a14ce81c9b617ec diff --git a/中医药/中医药测试.http b/中医药/中医药测试.http index b7f4d2e..dd32cc2 100644 --- a/中医药/中医药测试.http +++ b/中医药/中医药测试.http @@ -15,14 +15,14 @@ # @name login # POST http://test.tall.wiki/gateway/tall/v1.0/users/signin # POST {{wiki_tall}}/users/signin -POST {{loaclhost_tall}}/users/signin +POST {{wiki_tall}}/users/signin {{type}} { "client": 1, "data": { "credential": "123456", - "identifier": "admin" + "identifier": "wenchunli" }, "scene": 0, "type": 3 @@ -213,11 +213,13 @@ Authorization: Bearer {{login.response.body.$.data.token}} "hospitalization": null, "inpatientId":"", "code":"", - "startTime":"2021-05-06 20:00:00", + # "startTime":"2021-05-06 20:00:00", "endTime":"", - "doctorId":"1368849516723445760", - "queryAuthority":2, - "hospitalId":1 + # "doctorId":"1368849516723445760", + "queryAuthority":1, + # "hospitalId":1, + "pageNum" :2, + "pageSize": 10 } } diff --git a/调度系统/调度系统.http b/调度系统/调度系统.http new file mode 100644 index 0000000..52d5008 --- /dev/null +++ b/调度系统/调度系统.http @@ -0,0 +1,106 @@ +@type = content-type: application/json;charset=utf-8 +@localhost = http://127.0.0.1:8001 + +### 添加任务 +POST {{localhost}}/job/add +{{type}} + +{ + "param": { + "jobName": "task_job_1003", + "jobGroupName": "tcm", + "triggerName": "task_trigger_1003", + "triggerGroupName": "tcm_trigger", + "startTime": "1627280545000", + "endTime": "1627291345000", + "job" : 0, + "cron": "0/5 * * * * ?", + "notifyWay":2, + "notifyUrl": "2377881365@qq.com", + "notifyParam": "{\"subject\":\"酒\",\"content\":\"遣怀诗共酒,何问寿与殇。\"}" + } + +} + +### 修改任务 +POST {{localhost}}/job/modifyTime +{{type}} + +{ + "param": { + "triggerName": "task_trigger_1002", + "triggerGroupName": "tcm_trigger", + "startTime": "1627280545000", + "endTime": "1627291345000", + "job" : 0, + "cron": "0/5 * * * * ?", + "notifyWay":2, + "notifyUrl": "2377881365@qq.com", + "notifyParam": "{\"subject\":\"酒\",\"content\":\"遣怀诗共酒,何问寿与殇。\"}" + } + +} + +### 停止 +POST {{localhost}}/job/pause +{{type}} + +{ + "param": { + "jobName": "task_job_1001", + "jobGroupName": "tcm" + } + +} + +### 恢复 +POST {{localhost}}/job/resume +{{type}} + +{ + "param": { + "jobName": "task_job_1001", + "jobGroupName": "tcm" + } + +} +### 删除 +POST {{localhost}}/job/remove +{{type}} + +{ + "param": { + "jobName": "task_job_1001", + "jobGroupName": "tcm", + "triggerName": "task_trigger_1001", + "triggerGroupName": "tcm_trigger" + } + +} + + + +### 添加任务 +POST http://localhost:6060/elasticJob/schedule?name=elasticJob1&cron=0/15 * * * * ? + +### index +POST http://localhost:6060/elasticJob/index + + + + + + + + + + + +yefei +2019 +lizhi:niandi + +licai + + + From 3b6a65bebe362fb9a71d1069f1a3cce5ac228a05 Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Thu, 29 Jul 2021 18:18:46 +0800 Subject: [PATCH 3/3] qcp --- HT/认知.http | 16 +++++++++ qcp/qcp.http | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 qcp/qcp.http diff --git a/HT/认知.http b/HT/认知.http index defd1da..33d8c0d 100644 --- a/HT/认知.http +++ b/HT/认知.http @@ -74,6 +74,22 @@ Authorization: Bearer {{login.response.body.$.data.token}} } } +### 根据医院,部门等 +POST {{sd_ht}}/importBase +Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW + +title +------WebKitFormBoundary7MA4YWxkTrZu0gW +Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\导入数据2020-04-27(1).xlsx" +# Content-Type: image/png + +< C:\Users\23778\Downloads\导入数据2020-04-27(1).xlsx +------WebKitFormBoundary7MA4YWxkTrZu0gW-- + + + + + ### 根据报告单类型导出报告单 POST {{localhost_ht}}/exportReportByCode {{type}} diff --git a/qcp/qcp.http b/qcp/qcp.http new file mode 100644 index 0000000..27cac62 --- /dev/null +++ b/qcp/qcp.http @@ -0,0 +1,91 @@ +@localhost = http://localhost:7230/v3.0 +@localhostTall = http://localhost:7030/v1.0 +@type = content-type: application/json;charset=utf-8 +### login + +# @name login +POST {{localhostTall}}/users/signin +{{type}} + +{ + "client": 1, + "data": { + "credential": "123456", + "identifier": "mazhuang" + }, + "scene": 0, + "type": 3 +} + +### 环节完成情况 +POST {{localhost}}/statistical/step +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "projectId": "1" + } +} + + +### 查询质控报告 +POST {{localhost}}/statistical/queryQuality +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "startTime": 0, + "endTime": 0, + "type": 1 + } +} + +### 查询质控报告 +POST {{localhost}}/statistical/queryQuality/everyday +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + } +} + + +### 查询医院的平车信息 +POST {{localhost}}/car/query +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + } +} + +### 查询患者绑定的平车信息 +POST {{localhost}}/car/bind +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "carId": 1212, + "projectId": 1420308599896547328 + } +} + + +### 模拟平车消息发送 +POST {{localhost}}/debug/record +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "authId": 145, + "type": 2, + "value": "32", + "time":1627551651000 + } +} \ No newline at end of file