正赢增加人脸心跳检测

This commit is contained in:
pengjie 2025-08-12 10:55:57 +08:00
parent 6ad362778a
commit dc37ecc9b2
2 changed files with 2 additions and 3 deletions

View File

@ -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"));
}
}