文档
测试
POST
http://localhost/fitness/ui/getHomeResource

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
string
示例:{{phone}}
必填
token
string
示例:{{token}}
必填

响应参数

参数名
类型
描述
必填
weightItems
object
数据字典
必填
totalNumber
int
示例:4
必填
bloodFat
object
数据字典
必填
hdlc
int
示例:0
必填
ldlc
int
示例:0
必填
tc
int
示例:0
必填
tg
int
示例:0
必填
weightRecord
object
数据字典
必填
targetWeight
int
示例:70
必填
idealWeight
int
示例:79
必填
latestWeight
float
示例:75.5
必填
pressures
object
数据字典
必填
dbp
int
示例:0
必填
dbpSetValue
int
示例:0
必填
sbp
int
示例:0
必填
sbpSetValue
int
示例:0
必填
calories
object
数据字典
必填
ingestible
int
示例:1382
必填
sportCalorics
int
示例:0
必填
dietCaloric
int
示例:0
必填
totalCaloric
int
示例:1382
必填
bgRecordInfo
object
数据字典
必填
habState
int
示例:2
必填
bgState
int
示例:2
必填
hbatime
string
示例:01月28日 15:03
必填
hba
float
示例:5.2
必填
record
int
示例:6
必填
time
string
示例:01月11日 13:18
必填
weights
object
数据字典
必填
bmi
float
示例:22.3
必填
bmiSetValue
float
示例:24.9
必填
height
int
示例:184
必填
weight
float
示例:75.5
必填
completeNumber
int
示例:0
必填
muscles
array
数据列表
必填
bgColor
string
示例:#DFEDFF
必填
columnName
string
示例:我要减肥
必填
description
string
示例:减脂减重
必填
id
int
示例:5
必填
picUrl
string
示例:https://www.365healthy.net/uploadFiles/images/app/bg/weight.png
必填
state
int
示例:5
必填
title
string
示例:个性化定制
必填
myDoctors
array
数据列表
必填
docId
int
示例:4203
必填
hospital
string
示例:附属医院
必填
hospitalLevel
string
示例:三甲
必填
id
int
示例:100
必填
image
string
示例:https://www.365healthy.net/uploadFiles/images/avatar/ee370902-b0ca-436e-8872-03b7cec675f6.png
必填
name
string
示例:
必填
skill
string
示例:主治医生|内分泌学
必填
trueName
string
示例:彭国强
必填
type
int
示例:1
必填
vipPackage
object
数据字典
必填
expirationTime
string
示例:
必填
id
int
示例:0
必填
introduce
string
示例:
必填
name
string
示例:
必填
medicalTeam
array
数据列表
必填
docId
int
示例:4203
必填
hospital
string
示例:附属医院
必填
hospitalLevel
string
示例:三甲
必填
id
int
示例:100
必填
image
string
示例:https://www.365healthy.net/uploadFiles/images/avatar/ee370902-b0ca-436e-8872-03b7cec675f6.png
必填
name
string
示例:
必填
skill
string
示例:主治医生.内分泌学
必填
trueName
string
示例:彭国强
必填
type
int
示例:1
必填
managements
array
数据列表
必填
columnName
string
示例:糖尿病
必填
hotType
string
示例:1
必填
id
int
示例:7
必填
picUrl
string
示例:https://www.365healthy.net/uploadFiles/images/app/icon/diabetes@3x.png
必填
state
int
示例:1
必填
isMember
int
示例:0
必填
healths
array
数据列表
必填
columnName
string
示例:健康评估
必填
hotType
string
示例:1
必填
id
int
示例:0
必填
picUrl
string
示例:https://www.365healthy.net/uploadFiles/images/app/icon/home_health@3x.png
必填
state
int
示例:1
必填
packages
array
数据列表
必填
id
int
示例:1
必填
introduce
string
示例:逆转阶段.1个月
必填
name
string
示例:智能化管理套餐
必填
banners
array
数据列表
必填
docType
string
示例:
必填
id
int
示例:1
必填
picUrl
string
示例:https://www.365healthy.net/uploadFiles/images/app/banner/b1.png
必填
reverses
array
数据列表
必填
columnName
string
示例:糖尿病
必填
hotType
string
示例:1
必填
id
int
示例:1
必填
picUrl
string
示例:https://www.365healthy.net/uploadFiles/images/app/icon/diabetes@3x.png
必填
state
int
示例:1
必填
hasUserInfo
int
示例:1
必填

响应格式

{ "weightItems": { "totalNumber": 4, "bloodFat": { "hdlc": 0, "ldlc": 0, "tc": 0, "tg": 0 }, "weightRecord": { "targetWeight": 70, "idealWeight": 79, "latestWeight": 75.5 }, "pressures": { "dbp": 0, "dbpSetValue": 0, "sbp": 0, "sbpSetValue": 0 }, "calories": { "ingestible": 1382, "sportCalorics": 0, "dietCaloric": 0, "totalCaloric": 1382 }, "bgRecordInfo": { "habState": 2, "bgState": 2, "hbatime": "01月28日 15:03", "hba": 5.2, "record": 6, "time": "01月11日 13:18" }, "weights": { "bmi": 22.3, "bmiSetValue": 24.9, "height": 184, "weight": 75.5 }, "completeNumber": 0 }, "muscles": [ { "bgColor": "#DFEDFF", "columnName": "我要减肥", "description": "减脂减重", "id": 5, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/bg/weight.png", "state": 5, "title": "个性化定制" }, { "bgColor": "#06C270", "columnName": "我要增肌", "description": "增强肌肉", "id": 6, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/bg/muscle.png", "state": 6, "title": "个性化定制" } ], "myDoctors": [ { "docId": 4203, "hospital": "附属医院", "hospitalLevel": "三甲", "id": 100, "image": "https://www.365healthy.net/uploadFiles/images/avatar/ee370902-b0ca-436e-8872-03b7cec675f6.png", "name": "", "skill": "主治医生|内分泌学", "trueName": "彭国强", "type": 1 } ], "vipPackage": { "expirationTime": "", "id": 0, "introduce": "", "name": "" }, "medicalTeam": [ { "docId": 4203, "hospital": "附属医院", "hospitalLevel": "三甲", "id": 100, "image": "https://www.365healthy.net/uploadFiles/images/avatar/ee370902-b0ca-436e-8872-03b7cec675f6.png", "name": "", "skill": "主治医生.内分泌学", "trueName": "彭国强", "type": 1 }, { "docId": 4238, "hospital": "浙江大学医学院附属第二医院", "hospitalLevel": "三甲", "id": 99, "image": "https://www.365healthy.net/uploadFiles/images/avatar/560594a7-b44d-4222-92c6-67ea8a47a205.jpeg", "name": "", "skill": "医师.全科", "trueName": "王五", "type": 1 } ], "managements": [ { "columnName": "糖尿病", "hotType": "1", "id": 7, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/diabetes@3x.png", "state": 1 }, { "columnName": "脂肪肝", "hotType": "0", "id": 8, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/fatty_liver@3x.png", "state": 2 }, { "columnName": "肥胖", "hotType": "1", "id": 9, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/fat@3x.png", "state": 3 }, { "columnName": "高血脂", "hotType": "1", "id": 10, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/blood@3x.png", "state": 4 } ], "isMember": 0, "healths": [ { "columnName": "健康评估", "hotType": "1", "id": 0, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/home_health@3x.png", "state": 1 }, { "columnName": "体脂工具", "hotType": "1", "id": 0, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/home_weight@3x.png", "state": 2 }, { "columnName": "饮食推荐", "hotType": "0", "id": 0, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/home_diet@3x.png", "state": 3 }, { "columnName": "运动记录", "hotType": "0", "id": 0, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/home_movement@3x.png", "state": 4 } ], "packages": [ { "id": 1, "introduce": "逆转阶段.1个月", "name": "智能化管理套餐" }, { "id": 2, "introduce": "逆转阶段.1-3个月", "name": "营养师管理套餐" }, { "id": 4, "introduce": "逆转阶段.1-3个月", "name": "尊享 VIP 管理套餐" } ], "banners": [ { "docType": "", "id": 1, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/banner/b1.png" }, { "docType": "", "id": 2, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/banner/b2.png" }, { "docType": "", "id": 3, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/banner/b3.png" } ], "reverses": [ { "columnName": "糖尿病", "hotType": "1", "id": 1, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/diabetes@3x.png", "state": 1 }, { "columnName": "脂肪肝", "hotType": "0", "id": 2, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/fatty_liver@3x.png", "state": 2 }, { "columnName": "肥胖", "hotType": "1", "id": 3, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/fat@3x.png", "state": 3 }, { "columnName": "高血脂", "hotType": "1", "id": 4, "picUrl": "https://www.365healthy.net/uploadFiles/images/app/icon/blood@3x.png", "state": 4 } ], "hasUserInfo": 1 }