文档
测试

查询用户下所有的历史数据

POST
http://www.mindordz.com/wanYe/WanYeApiTmtData_selectDataByUser

请求参数

参数名
类型
描述
必填
userId
String
用户id
必填
humOrThings
String
区分人或物(0:人,1:物,不传参查询所有)
必填

响应参数

参数名
类型
描述
必填
code
number
状态码2
必填
Message
string
状态描述
必填
data
array
数据列表
必填
equipmentId
string
设备id
必填
hourMinute
string
时分
必填
humOrThings
string
测量对象(0:人,1:物)
必填
temp
string
温度值
必填
tmtDataId
number
主键id
必填
userId
string
用户id
必填
yearMonth
string
年月
必填

说明 / 示例

``` { "code": 200, "Message": "success", "data": [ { "equipmentId": "zcz002100107", "hourMinute": "10:43", "humOrThings": "0", "temp": "36.5", "tmtDataId": 2, "userId": "minApp100108", "yearMonth": "2020年2月3日" }, { "equipmentId": "zcz002100107", "hourMinute": "11:3", "humOrThings": "0", "temp": "36.2", "tmtDataId": 3, "userId": "minApp100108", "yearMonth": "2020年2月3日" }, { "equipmentId": "zcz002100107", "hourMinute": "11:17", "humOrThings": "0", "temp": "36.2", "tmtDataId": 4, "userId": "minApp100108", "yearMonth": "2020年2月3日" } ] } ```