文档
测试

健康自测

POST
http://shop.qianniangy.net/addons/zjhj_mall/core/web/index.php?r=api%2Fhealthy%2Fself-test&access_token=YDr9T5weMcOIuzbdBVKRg-anoY04c3ic&type=1

请求参数

参数名
类型
描述
必填
r
string
示例:api/healthy/self-test
必填
access_token
string
示例:YDr9T5weMcOIuzbdBVKRg-anoY04c3ic
必填
type
int
示例:1 类型 1=血糖 2=血压
必填
glucoseType
int
示例:1 血糖类型 空腹1、早餐后2、午餐前3、午餐后4、晚餐前5、晚餐后6、睡前7、夜间8
必填
glucoseValue
int
示例:5 血糖值
必填
heightValue
int
示例:177 身高
必填
weightValue
int
示例:70 体重
必填
highValue
int
示例:190 高压 type =2
可选
lowValue
int
示例:30 低压 type =2
可选

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:操作成功
必填
data
object
数据字典
必填
result
string
示例:您好,您4月25日18:06检测空腹血糖5mmol/L。血糖正常,请继续保持!建议定期检测血糖,以便了解血糖任何不正常的变化,并及时采取防治措施。
必填
glucoseValue
int
示例:5
必填
glucoseType
int
示例:1
必填
level
int
示例:2
必填
testTime
string
示例:2020-04-25 18:06:49
必填
describe
string
示例:血糖正常,
必填
suggest
string
示例:请继续保持!建议定期检测血糖,以便了解血糖任何不正常的变化,并及时采取防治措施。
必填
score
object
数据字典
必填
score
int
示例:90
必填
desc
string
示例:血糖正常
必填