From 6e86f36bfb1ebc6d6ea7a67e366adc2ac4df02bb Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Wed, 10 Nov 2021 16:31:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=87=95=E5=9B=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 燕园/燕园.http | 123 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 108 insertions(+), 15 deletions(-) diff --git a/燕园/燕园.http b/燕园/燕园.http index 3a80f2d..d278377 100644 --- a/燕园/燕园.http +++ b/燕园/燕园.http @@ -1,7 +1,7 @@ @localhost = http://localhost:7260/v2.0 @localhost_tall = http://localhost:7130/v3.0 @test_tall = http://192.168.0.99:7130/v3.0 -@test = http://192.168.0.99/gateway/yanyuan/v2.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 @@ -15,7 +15,7 @@ POST {{test_tall}}/users/signin "client": 1, "type": 3, "data": { - "identifier": "", + "identifier": "zy11", "credential": "123456" } } @@ -32,9 +32,16 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param":{ - "toolCode":"1" + "toolCode":"0000000001" } } +###查询登录用户身份 +POST {{test}}/userPower/identity +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ +} ###添加用户信息 POST {{test}}/trainee/add {{type}} @@ -44,20 +51,49 @@ Authorization: Bearer {{login.response.body.$.data.token}} "param":{ "userName":"张三", "sex":"1", - "clinicHospital":"张三", - "userName":"张三", - "userName":"张三", - "userName":"张三", - "userName":"张三", - "userName":"张三", - "userName":"张三", - "userName":"张三", - "userName":"张三", + "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}} @@ -65,6 +101,63 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param":{ - "bindUserId":"121802524949335654" + "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 } }