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