正赢增加人脸心跳检测
This commit is contained in:
parent
6ad362778a
commit
dc37ecc9b2
@ -58,8 +58,7 @@ public class DispatchHandler {
|
|||||||
// 正赢人脸设备心跳推送
|
// 正赢人脸设备心跳推送
|
||||||
if (topic.equals("heartbeat/response")) {
|
if (topic.equals("heartbeat/response")) {
|
||||||
JSONObject jsonObject = JSONObject.parseObject(payLoad.toString());
|
JSONObject jsonObject = JSONObject.parseObject(payLoad.toString());
|
||||||
JSONObject body = jsonObject.getJSONObject("body");
|
ufaceDevService.online(jsonObject.getString("sn"));
|
||||||
ufaceDevService.online(body.getString("sn"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user