文档
测试

获取体重管理方案

GET
http://127.0.0.1/app/doctor/weightManagementScheme/getScheme

请求参数

参数名
类型
描述
必填
phone
string
{{phone}}
必填
token
string
{{token}}
必填
customerUserId
int
用户主键id
必填
doctorUserId
int
医生用户主键id
可选
nutritionistUserId
int
营养师用户主键id
可选

响应参数

参数名
类型
描述
必填
msg
string
示例:获取成功
必填
schemeSort
array
数据列表
必填
isSelected
int
示例:0
必填
schemeName
string
示例:逆转糖尿病
必填
sort
int
示例:1
必填
state
int
示例:1
必填
WeightManagementScheme
object
数据字典
必填
createTime
string
创建时间
必填
currentWeightSnapshot
int
当前体重快照
必填
customerUserId
int
用户id
必填
doctorUserId
int
医生用户id
必填
endDate
string
结束日期
必填
id
int
主键id
必填
isDeleted
int
是否删除 0:否 1:是
必填
isValid
int
是否有效 0:否 1:是
必填
nutritionistUserId
int
营养师用户id
必填
originalWeightSnapshot
float
初始体重快照
必填
standardWeightSnapshot
int
标准体重快照
必填
startDate
string
开始日期
必填
targetWeight
int
目标体重快照
必填
updateTime
string
更新日期
必填

说明 / 示例

{ "msg": "获取成功", "schemeSort": [ { "isSelected": 0, "schemeName": "逆转糖尿病", "sort": 1 }, { "isSelected": 0, "schemeName": "控糖目标", "sort": 2 }, { "isSelected": 0, "schemeName": "饮食方案", "sort": 3 }, { "isSelected": 1, "schemeName": "体重管理", "sort": 4 }, { "isSelected": 0, "schemeName": "用药情况", "sort": 5 }, { "isSelected": 0, "schemeName": "复诊方案", "sort": 6 }, { "isSelected": 0, "schemeName": "院外照护", "sort": 7 } ], "state": 1, "WeightManagementScheme": { "createTime": "2022-04-07 13:54:03", "currentWeightSnapshot": 21.0, "customerUserId": 4436, "doctorUserId": 4536, "endDate": "2022-05-07", "id": 1, "isDeleted": 0, "isValid": 1, "nutritionistUserId": 0, "originalWeightSnapshot": 14.7, "standardWeightSnapshot": 20.0, "startDate": "2022-04-07", "targetWeight": 20.0, "updateTime": "2022-04-07 13:54:03" } }