Browse Source

Merge branch 'master' of dd.tall.wiki:ccsens_wiki/vs_test

master
zy_Java 5 years ago
parent
commit
c82a814886
  1. 72
      HT/认知.http
  2. 30
      中医药/中医药测试.http
  3. 91
      智慧平车/智慧平车接口测试.http

72
HT/认知.http

@ -4,7 +4,7 @@
@localhost_question = http://127.0.0.1:7160 @localhost_question = http://127.0.0.1:7160
@localhost_ht = http://127.0.0.1:7040 @localhost_ht = http://127.0.0.1:7040
@localhost_tall = http://127.0.0.1:7030/v1.0 @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_ht = http://test.tall.wiki/gateway/ht
@test_tall = http://192.168.4.113/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_tall = https://sd.tall.wiki/gateway/tall/v1.0
@ -18,7 +18,7 @@
### login ### login
# @name login # @name login
POST {{sd_tall}}/users/signin POST {{test_tall}}/users/signin
# POST {{localhost_tall}}/users/signin # POST {{localhost_tall}}/users/signin
{{type}} {{type}}
@ -195,15 +195,15 @@ Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\
------WebKitFormBoundary7MA4YWxkTrZu0gW-- ------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入类型 ### 导入类型
POST {{sd_ht}}/importReportType POST {{test_ht}}/importReportType
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title title
------WebKitFormBoundary7MA4YWxkTrZu0gW ------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 # Content-Type: image/png
< C:\Users\23778\Downloads\1.xlsx < C:\Users\86183\Desktop\导入数据.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW-- ------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入指定测评 ### 导入指定测评
@ -227,7 +227,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "param": {
"id": "1341582151497420800" "id": "1341582151497420800"
} }
} }
@ -239,7 +239,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "param": {
"id": "1397815195593740288" , "id": "1397815195593740288" ,
"code": "MMSE" "code": "MMSE"
} }
} }
@ -250,7 +250,18 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "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": { "param": {
"patientReportId": "1385191545782800384", "patientReportId": "1398098337596575744",
"questionId": "1340952996439265280" "questionId": "1207564351553277953"
} }
} }
@ -307,21 +318,18 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "param": {
"patientName":"小吴",
"startAge":0, "startAge":0,
"endAge":100, "endAge":100,
"patientSex":0, "patientSex":null,
"educationalStatus":4, "educationalStatus":null,
"startEducationalStatusUnit":0, "startEducationalStatusUnit":null,
"endEducationalStatusUnit":100, "endEducationalStatusUnit":null,
"clinicalDiagnosis":null, "clinicalDiagnosis":null,
"scores":[ "scores":[
{
"code":"MMSE",
"start":0,
"end":100
}
] ]
} }
} }
### 查询试题 ### 查询试题
@ -335,6 +343,28 @@ Authorization: Bearer {{login.response.body.$.data.token}}
"code":"SCWT", "code":"SCWT",
"num":1 "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"]
}
]
} }
} }

30
中医药/中医药测试.http

@ -2,8 +2,8 @@
@www = https://www.tall.wiki/gateway/tcm @www = https://www.tall.wiki/gateway/tcm
@test = http://test.tall.wiki/gateway/tcm @test = http://test.tall.wiki/gateway/tcm
@wiki = http://sxzxyzzlm.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 @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 = http://localhost:7150
@loaclhost_tall = http://localhost:7030/v1.0 @loaclhost_tall = http://localhost:7030/v1.0
@ -14,8 +14,8 @@
# @name login # @name login
# POST http://test.tall.wiki/gateway/tall/v1.0/users/signin # POST http://test.tall.wiki/gateway/tall/v1.0/users/signin
POST {{www_tall}}/users/signin # POST {{wiki_tall}}/users/signin
# POST http://localhost:7030/v1.0/users/signin POST {{loaclhost_tall}}/users/signin
{{type}} {{type}}
{ {
@ -42,7 +42,7 @@ Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\
------WebKitFormBoundary7MA4YWxkTrZu0gW-- ------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入试题 ### 导入试题
Post {{www}}/import/all Post {{wiki}}/import/all
Authorization: Bearer {{login.response.body.$.data.token}} Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
@ -69,9 +69,9 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "param": {
"hospitalId":1, "patientId":1390611940237385728,
"code":"JLDPLXGCS", "code":"TLCTPS",
"url":"http://sxzxyzzlm.tall.wiki/gateway/tcm/uploads/upload/20210425/62a783634cd041ea9badde68a6e96b55.jpg" "fileId":1392038920719704064
} }
} }
@ -254,8 +254,9 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "param": {
"authority": 1, "authority": 2,
"role":0 "role":0,
"hospitalId": 5
} }
} }
@ -271,3 +272,14 @@ Authorization: Bearer {{login.response.body.$.data.token}}
"pageSize":10 "pageSize":10
} }
} }
### 查询患者未完成的报告单信息
Post {{wiki_question}}/checkPatientComplete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": 1391646303876030464,
"serialNumber":"test"
}
}

91
智慧平车/智慧平车接口测试.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
}
}
Loading…
Cancel
Save