燕园
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.
 
 
 

373 lines
7.6 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
###
# song 1218763410024566784
# @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 {{localhost}}/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":"5"
}
}
###
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": "1464155290781618176",
"num": "22"
}
}
###
POST {{test}}/question/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"code":"NLCP",
"reportId": "1459057596971094016",
"questionId": "21",
"optionId": "1"
}
}
###
POST {{test}}/mentalTest/calculate
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"mentalTestId": "1458968153773838336"
}
}
###
POST {{test}}/task/regular
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId": "1460455105006145536",
"templateCode": "yanyuan-user",
"roleId":"1",
"queryNum":2,
"queryType":0
}
}
###
POST {{test}}/trainPlan/detail
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
# "recordId": "1460549920427347968"
"recordId": "1460549920452513797"
}
}
###
POST {{test}}/role/show
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId": "1459057595893157888",
"templateCode": "yanyuan-user"
}
}
###Zarit
POST {{test}}/zarit/calculate
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"careId": "21"
}
}
###
POST {{test}}/tool/queryToolList
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
}
}
###
POST {{localhost}}/trainPlan/chooseTool
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"recordId": "1460549920427347972",
"equipmentId": "2"
}
}
###使
POST {{test}}/trainee/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"maxBloodPressure": "97",
"minBloodPressure": "57",
"diseasesRecord": ",:3",
"relativeDiseasesRecord": ",:3",
"projectId": "1460455105006145536"
}
}
###使
POST {{test}}/trainee/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId": "1464155289330388992"
}
}
###
POST {{test}}/zarit/queryList
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId": "1460455105006145536"
}
}
###
POST {{test}}/trainBelong/queryUnknown
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"pageNum": 1,
"pageSize": 10
}
}
###使
POST {{test}}/trainee/queryRelation
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
}
}
###
POST {{test}}/trainPlan/queryRecent
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"keyUserId": 1464166326922383360,
"time": 1638773109000
}
}
### (6,1) (3,0)
POST {{test}}/trainBelong/chooseRecord
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"trainRecordId": 3,
"resultType": 0,
"recordId": 1465510253751439362
}
}
###
POST {{test}}/question/importQuestion
Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="param"; filename="D:\\-\\\Zaritv1.0.xlsx"
< E:\ccsens\yanyuan\v1.1.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--