文档
测试
彭国强

硅基-医护端-血糖日志

POST
http://localhost/bloodSugarMonitorData/doc/bloodSugarMonitorLog

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
int
示例:18779792814
必填
token
string
示例:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyUGhvbmUiOiIxODc3OTc5ODIxNCIsImV4cCI6MTY3NTU3OTQ5MSwidXNlcklkIjo0MjA5fQ.hc_LumvAlkd9LKEKyMh1qRb11Zh6J1c0vsDUmfrxcP8
必填
startDate
string
示例:2022-09-24
必填
userId
int
示例:4209
必填
endDate
string
示例:2022-11-01
必填
type
int
示例:2 1 代表表格 2代表曲线图
必填
page
int
示例:1 当type == 1 时候 需要传分页参数
必填
size
int
示例:10 当type == 1 时候 需要传分页参数
必填

响应参数

参数名
类型
描述
必填
content
object
数据字典
必填
bloodSugarMonitoringLog
array
数据列表
必填
dietNotes
string
示例:
必填
medicationNotes
string
示例:
必填
recordId
int
示例:20534
必填
sportNotes
string
示例:
必填
time
string
示例:2022-09-24 12:06
必填
value
float
示例:7.7
必填
logDate
array
数据列表
必填
maxBloodSugar
float
示例:12.2
必填
targetHighValue
int
示例:10
必填
targetLowValue
float
示例:3.9
必填
msg
string
示例:获取成功
必填
state
int
示例:1
必填