文档
测试

用户体重记录

POST
http://localhost/userallweightrecords/getuserallweight

接口描述

数组中的Id是体重记录表中的Id

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
int
示例:19855351192
必填
token
string
示例:67ee4be0b405baa2be3216569782e787
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:查询成功
必填
weightVo
array
数据列表
必填
id
int
示例:543
必填
recordDate
string
示例:2022-04-02 12:59:04
必填
userId
int
示例:1145
必填
weight
int
示例:78
必填
state
int
示例:1
必填

说明 / 示例

{ "msg": "查询成功", "weightVo": [ { "id": 543, "recordDate": "2022-04-02 12:59:04", "userId": 1145, "weight": 78 }, { "id": 542, "recordDate": "2022-04-02 12:58:25", "userId": 1145, "weight": 43.25 }, { "id": 541, "recordDate": "2022-04-02 12:58:16", "userId": 1145, "weight": 43.25 }, { "id": 538, "recordDate": "2022-03-26 17:46:07", "userId": 1145, "weight": 80 }, { "id": 509, "recordDate": "2022-03-09 13:35:24", "userId": 1145, "weight": 75.4 }, { "id": 508, "recordDate": "2022-03-09 13:35:15", "userId": 1145, "weight": 75.3 }, { "id": 507, "recordDate": "2022-03-08 13:34:24", "userId": 1145, "weight": 76.5 }, { "id": 506, "recordDate": "2022-03-07 13:34:12", "userId": 1145, "weight": 77.2 }, { "id": 505, "recordDate": "2022-03-07 13:33:58", "userId": 1145, "weight": 78.7 }, { "id": 504, "recordDate": "2022-03-06 13:33:45", "userId": 1145, "weight": 79.1 }, { "id": 503, "recordDate": "2022-03-04 13:33:29", "userId": 1145, "weight": 79.2 }, { "id": 502, "recordDate": "2022-03-02 11:25:30", "userId": 1145, "weight": 80 }, { "id": 262, "recordDate": "2022-02-07 19:54:12", "userId": 1145, "weight": 80 }, { "id": 501, "recordDate": "2022-02-01 11:21:54", "userId": 1145, "weight": 80.2 } ], "state": 1 }