正赢增加人脸心跳检测

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

View File

@ -71,7 +71,7 @@ mqtt.url=tcp://jxj.zhgdyun.com:1883
mqtt.producer.clientId=mqttProd0729
mqtt.producer.defaultTopic=topic1
mqtt.consumer.clientId=mqttConsumer0729
mqtt.consumer.defaultTopic=topic1,mqtt/face/+/Ack,mqtt/face/+/Rec,face/createFace/response,face/response,heartbeat/response
mqtt.consumer.defaultTopic=topic1,mqtt/face/+/Ack,mqtt/face/+/Rec,face/createFace/response,face/response,heartbeat/response
#mqtt.consumer.defaultTopic=/P114101/202203010084
#server.http2.enabled=true
#server.ssl.key-store=classpath:www.cscec1b1.com.jks