文档
测试
江照锋

体重相关指标记录

POST
http://localhost/bodyfatscaleweightrecord/getuserbodyrecord

接口描述

返回数组中增加了参数state,1-初始,2-月末,3季末体重

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
int
示例:13958007395
必填
token
string
示例:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyUGhvbmUiOiIxODc3OTc5ODIxNCIsImV4cCI6MTY4Njc5NTQxMCwidXNlcklkIjo0MjA5fQ.aQT8AO4k1TpBKjMcmIN1yGi-he91Z8Bno7g_NCBJ1Z8
必填
userId
int
示例:1145
必填
page
int
示例:1
必填
pageSize
int
示例:100
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:查询成功
必填
userGetweightRecordVO
array
数据列表
必填
bfrrecord
string
示例:11.0%
必填
bmirecord
string
示例:11.0
必填
date
string
示例:2023-04-24
必填
firstState
int
示例:0
必填
id
int
示例:30762
必填
state
int
示例:0
必填
time
string
示例:16:15
必填
userId
int
示例:1145
必填
weightSource
string
示例:沃莱录入
必填
weightrecord
string
示例:67.30kg
必填
state
int
示例:1
必填

说明 / 示例

{ "msg": "查询成功", "userGetweightRecordVO": [ { "bfrrecord": "11.0%", "bmirecord": "11.0", "date": "2023-04-24", "firstState": 0, "id": 30762, "state": 0, "time": "16:15", "userId": 1145, "weightSource": "沃莱录入", "weightrecord": "67.30kg" }, { "bfrrecord": "11.0%", "bmirecord": "11.0", "date": "2023-04-24", "firstState": 0, "id": 30761, "state": 0, "time": "16:13", "userId": 1145, "weightSource": "沃莱录入", "weightrecord": "67.30kg" }, { "bfrrecord": "", "bmirecord": "", "date": "2023-04-18", "firstState": 0, "id": 30759, "state": 0, "time": "14:32", "userId": 1145, "weightSource": "手动录入", "weightrecord": "82.20kg" }, { "bfrrecord": "", "bmirecord": "", "date": "2022-05-04", "firstState": 0, "id": 3721, "state": 0, "time": "10:11", "userId": 1145, "weightSource": "", "weightrecord": "81.00kg" }, { "bfrrecord": "", "bmirecord": "", "date": "2022-04-01", "firstState": 0, "id": 1448, "state": 0, "time": "13:00", "userId": 1145, "weightSource": "", "weightrecord": "94.50kg" }, { "bfrrecord": "", "bmirecord": "", "date": "2022-03-28", "firstState": 0, "id": 1253, "state": 0, "time": "08:45", "userId": 1145, "weightSource": "", "weightrecord": "93.90kg" }, { "bfrrecord": "", "bmirecord": "", "date": "2022-03-23", "firstState": 0, "id": 1039, "state": 0, "time": "16:30", "userId": 1145, "weightSource": "", "weightrecord": "79.60kg" }, { "bfrrecord": "", "bmirecord": "", "date": "2022-02-07", "firstState": 1, "id": 262, "state": 0, "time": "19:54", "userId": 1145, "weightSource": "", "weightrecord": "80.90kg" } ], "state": 1 }