1、中南院MQTT推送,时间到毫秒

This commit is contained in:
weidong 2025-06-20 16:20:40 +08:00
parent 108bf78bfe
commit 57de48e899

View File

@ -78,7 +78,7 @@ public class ZNYMQTTForwarder extends Forwarder {
tranData.setRposu(d);
String json = GsonUtil.toJson(tranData);
String cryptJson = Des3Utils.encrypt(json,key,iv);
logger.debug("forward to ZNY mqtt: {}, {}",json, cryptJson);
logger.info("forward to ZNY mqtt: {}, {}",json, cryptJson);
String topic = "/GnssData/"+locationRecord.getDeviceid()+"/Increment";
try {
if(!mqttClient.publish(topic, cryptJson)) break;