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.

180 lines
4.0 KiB

###
@www = https://www.tall.wiki/gateway/tcm
@test = http://test.tall.wiki/gateway/tcm
@wiki = http://sxzxyzzlm.tall.wiki/gateway/tcm
@wiki_tall = https://sxzxyzzlm.tall.wiki/gateway/tall/v1.0
@loaclhost = http://localhost:7150
@loaclhost_tall = http://localhost:7030/v1.0
@type = content-type: application/json;charset=utf-8
### login
# @name login
# POST http://test.tall.wiki/gateway/tall/v1.0/users/signin
POST {{loaclhost_tall}}/users/signin
# POST http://localhost:7030/v1.0/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "doctorli"
},
"scene": 0,
"type": 3
}
###
Post {{wiki}}/import/code
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(3).xlsx"
< C:\Users\23778\Downloads\v1.1-20210409(3).xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
###
Post {{loaclhost}}/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(3).xlsx"
< C:\Users\23778\Downloads\v1.1-20210409(3).xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
###
Post {{wiki}}/import/updateRedis
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
###
Post {{loaclhost}}/ocr/general/basic
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalId":1,
"code":"JLDPLXGCS",
"url":"http://sxzxyzzlm.tall.wiki/gateway/tcm/uploads/upload/20210425/62a783634cd041ea9badde68a6e96b55.jpg"
}
}
# 1 2 3
### redis
# POST {{test}}/import/updateRedis
POST {{wiki}}/import/updateRedis
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
###
Post {{loaclhost}}/question/queryAll
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"code":"ZLXG"
}
}
###
POST {{loaclhost}}/inpatient/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
###
Post {{wiki}}/question/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":"1377810337931468800",
"code":"",
"nums":0
}
}
###
Post {{loaclhost}}/statistics/complete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalId":"",
"userId":""
}
}
###
Post {{loaclhost}}/statistics/hospital/complete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalId":"",
"userId":""
}
}
###
Post {{wiki}}/patient/selSearchCriteriaList
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
###
Post {{loaclhost}}/conferenceRecords/save
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"taskId":"123456",
"startTime":"2021-02-02 01:02:03",
"endTime":"2021-02-08 01:02:03",
"place":"",
"host":"",
"participants":"",
"discussionContent":"",
"meetingMinutes":"便"
}
}
###
Post {{wiki}}/patient/savePatientMes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalization":"whj003",
"inpatientId":"3"
}
}