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.

201 lines
4.2 KiB

@localhost = http://localhost:7260/v2.0
@localhost_tall = http://localhost:7130/v3.0
@test_tall = http://192.168.0.99:7130/v3.0
@test = https://test.tall.wiki/gateway/yanyuan/v2.0/
@www_tall = http://www.tall.wiki:7130/v3.0
@www = http://www.tall.wiki/gateway/yanyuan/v2.0/
@type = content-type: application/json;charset=utf-8
###
# @name login
POST {{test_tall}}/users/signin
{{type}}
{
"client": 1,
"type": 3,
"data": {
"identifier": "song",
"credential": "999999"
}
}
### debug
GET {{test}}/debug
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
###
POST {{test}}/tool/bind
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"toolCode":"0000000003"
}
}
###
POST {{test}}/userPower/identity
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
}
###
POST {{test}}/trainee/add
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"userName":"",
"sex":"1",
"clinicHospital":"",
"hospitalProvinceId":"1",
"hospitalCityId":"2",
"hospitalAddress":"XXX",
"clinicOffice":"",
"clinicDoctor":"",
"birthDate":"1965-08-01",
"height":"170",
"weight":"66",
"jobTitle":"",
"educateStatus":"",
"educateDate":"6",
"abodePlace":"",
"appearTime":"2021-01-01",
"diagnoseTime":"2021-02-01",
"diagnoseResult":"",
"minBloodPressure":"90",
"maxBloodPressure":"120",
"bloodFat":"80",
"physicalAct":"",
"apoeGene":"1",
"diseasesRecord":"",
"relativeDiseasesRecord":"",
"isInsomnic":0,
"insomnicPeriod":"8",
"isSmoke":1,
"quitPeriod":2,
"sustainPeriod":3,
"averageNum":5,
"isDrink":2,
"abstinencePeriod":"2",
"drinkType":"",
"isTea":"3",
"quitTea":"",
"continuePeriod":"1",
"teaType":"绿",
"teaPeriod":"",
"isStrongFlavour":1,
"isLikeMeat":1,
"isMoreOil":0
}
}
###
POST {{test}}/trainee/create
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"bindUserId":"1218025249493356544"
}
}
###使
POST {{test}}/trainee/relation
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
}
###
POST {{test}}/tool/qrCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"id":"1"
}
}
###
POST {{test}}/trainee/upgrade
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"keyUserIds":[
"1456525052375470081"
]
}
}
###
POST {{test}}/family/personal
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
}
###
POST {{test}}/family/apply
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"keyUserIds":[
"1456525052375470080",
"1456525052375470081"
],
"age":25,
"educateLevel": "",
"jobTitle": "",
"name": "",
"sex": 1
}
}
###
POST {{test}}/question/get
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"code":"NLCP",
"reportId": "1458968153773838336",
"num": "1"
}
}
###
POST {{localhost}}/question/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"code":"NLCP",
"reportId": "1459057596971094016",
"questionId": "21",
"optionId": "1"
}
}
###
POST {{localhost}}/mentalTest/calculate
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"mentalTestId": "1459057596971094016"
}
}