文档
测试

通过id查询设备当天是否有告警记录

POST
/alert/record/getAlertsForCurrentDay/30069310

接口描述

通过id查询设备当天是否有告警记录

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
object
示例:null
必填
data
object
为空表示没有记录
必填
id
string
示例:1732960504818532353
必填
alertType
string
示例:2
必填
alertMsg
string
示例:湿度 超出预警阈值
必填
alertTime
string
示例:2023-12-11 11:09:16
必填
deviceId
string
示例:30069310
必填

说明 / 示例

```{ "code": 1, "msg": null, "data": { "id": "1732960504818532353", "alertType": "2", "alertMsg": "湿度 超出预警阈值", "alertTime": "2023-12-11 11:09:16", "deviceId": "30069310" } ``` ```{ "code": 1, "msg": null, "data": null } ```