消息管理

## 本模块包含1个接口 **简要描述:** - 设备列表接口 **请求URL:** - ` http://IP:9090/watch/api/watchMessage/findMessage ` **请求方式:** - POST **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |token|是|String |当前登录用户token| |pageNumber|是|int |页数| |pageSize|是|int |当页数据数量| **返回示例** ``` { "code": 0, "msg": "成功! ", "page":{ "pageNumber": 0, "pageSize": 30, "count": 2, }, "data": { "messageList":[{ "messageID": "1", "messageType": "电子围栏", "icon": "http://123.60.11.217:9090/image/message/dzwl.png", "messageDeviceID": "1", "operator": { "operatorID": "1", "operatorName": "朱瑞亮", "operatorDeviceState": "1", "operatorPositionLNG": "118.189278", "operatorPositionLAT": "24.491821", "content": "处于工作区域外", "operatorTimestamp": "1618215197000", "operatorHeartRate": "95.00", "operatorSpo2": "98.00", "operatorPressure": "101325.00", "operatorAltitude": "1029.00", "operatorSOS": "0" } },{ "messageID": "2", "messageType": "心率过高", "icon": "http://123.60.11.217:9090/image/message/dzwl.png", "messageDeviceID": "1", "operator": { "operatorID": "1", "operatorName": "朱瑞亮", "operatorDeviceState": "1", "operatorPositionLNG": "118.189278", "operatorPositionLAT": "24.491821", "content": "处于工作区域内", "operatorTimestamp": "1618215197000", "operatorHeartRate": "95.00", "operatorSpo2": "98.00", "operatorPressure": "101325.00", "operatorAltitude": "1029.00", "operatorSOS": "0" } },{ "messageID": "3", "messageType": "电子围栏", "icon": "http://123.60.11.217:9090/img.png" "messageDeviceID": "1", "operator": { "operatorID": "2", "operatorName": "李刚", "operatorDeviceState": "2", "operatorPositionLNG": "118.189278", "operatorPositionLAT": "24.491821", "content": "处于危险区域内", "operatorTimestamp": "1618215197000", "operatorHeartRate": "95.00", "operatorSpo2": "98.00", "operatorPressure": "101325.00", "operatorAltitude": "1029.00", "operatorSOS": "1" } } ] } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |pageNumber|int |当前第几页| |pageSize|int |每页多少条| |count|int |一共多少条| |messageList|list |消息列表| |  icon |String|图标链接| |  messageID|int |消息ID| |  messageType|String|消息类型| |  messageDeviceID|String|消息对应设备ID| |  operator|json |消息对应人员数据| |   operatorID|int |人员ID| |   operatorName|String|人员姓名| |   operatorTimestamp|long |最后一次更新时间| |   operatorPositionLNG|float |经度| |   operatorPositionLAT|float |纬度| |   operatorPositionState|string |区域状态:1.处于工作区域内;2.处于工作区域外;9.处于危险区域内| |   operatorHeartRate|float |心率| |   operatorSpo2|float |血氧(%)| |   operatorPressure|float |气压| |   operatorAltitude|float |海拔| |   operatorSOS|String|是否呼救:0否;1是| **备注** - 更多返回错误代码请看首页的错误代码描述 --- **简要描述:** 消息推送,需要通过推送上述接口内容。