You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

340 lines
6.7 KiB

@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
@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.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
@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 {{sd_tall}}/users/signin
# POST {{localhost_tall}}/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "doctorli"
},
"scene": 0,
"type": 3
}
# ###
# POST {{sd_tall}}/tasks/change
# {{type}}
# Authorization: Bearer {{login.response.body.$.data.token}}
# {
# "id":"1375376694277443584",
# "beginTime":"1574125200000",
# "endTime":"1767110400000",
# "cycle":""
# }
# ###
# POST {{sd_tall}}/tasks
# {{type}}
# Authorization: Bearer {{login.response.body.$.data.token}}
# {
# "projectId":"1205016950191820800",
# "parentTaskId":1205016959608033280,
# "taskName":"",
# "description":"",
# "executorId":1205016953639538688,
# "beginTime":"1574125200000",
# "endTime":"1767110400000"
# }
###
POST {{localhost_ht}}/shareReport
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id": "1397496952274423808",
"report":"REPORT1.2"
}
}
###
POST {{localhost_ht}}/exportReportByCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id": "1397740346552750080",
"report":"REPORT1.2"
}
}
###
POST {{localhost_ht}}/exportByCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":"1397833716453216256",
"code": "AVLT"
}
}
###
POST {{test_ht}}/editPatientReport
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"clinicalDiagnosis": "",
"department": "22",
"id": "1395544772810248192",
"initialImpression": "4444",
"patientAge": "11",
"report": "REPORT1.1",
"workingScore": 4
}
}
###
POST {{localhost_ht}}/saveRecord
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientReportId": "1397880112237645824",
"details":[
{
"recordId":1394959230011838464,
"answers":[]
}
]
}
}
###
POST {{localhost_ht}}/saveScore
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"questionId":"1394959220532711424",
"patientReportId": "1397833716453216256",
"options":[
{
"id":1397853959561023488,
"score":55
}
]
}
}
###
POST {{localhost_ht}}/queryReportDetail
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":"1397833716453216256",
"report": "REPORT1.2"
}
}
###
POST {{localhost_ht}}/editPatientReport
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":"1341582151497420800",
"initialImpression": "sss",
"report":"REPORT1.0",
"clinicalDiagnosis":"",
"workingScore":
}
}
### ===
POST {{test_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 {{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 {{localhost_ht}}/importEvaluation?code=AVLT
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="< C:\Users\dou\Desktop\(3)(1).xlsx
"
# Content-Type: image/png
< C:\Users\dou\Desktop\(3)(1).xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
###
POST {{test_ht}}/exportReport
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id": "1341582151497420800"
}
}
###
POST {{localhost_ht}}/export
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id": "1397815195593740288" ,
"code": "MMSE"
}
}
###
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
}
}
###
POST {{sxzxyzzlm_question}}/queryReports
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": "1369189040502611968",
"pageNum": 1,
"pageSize": 15
}
}
###
POST {{localhost_ht}}/queryCanvas
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientReportId": "1385191545782800384",
"questionId": "1340952996439265280"
}
}
###
POST {{localhost_ht}}/queryAllReports
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"startAge":0,
"endAge":100,
"patientSex":0,
"educationalStatus":4,
"startEducationalStatusUnit":0,
"endEducationalStatusUnit":100,
"clinicalDiagnosis":null,
"scores":[
{
"code":"MMSE",
"start":0,
"end":100
}
]
}
}
###
POST {{localhost_ht}}/queryQuestion
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientReportId":1397833716453216256,
"code":"SCWT",
"num":1
}
}