Commit dbadd95d authored by 赵啸非's avatar 赵啸非

添加设备上线和下线的业务日志记录

parent 4a09e419
...@@ -100,7 +100,7 @@ public class CustomerKeyExpirationListener implements MessageListener { ...@@ -100,7 +100,7 @@ public class CustomerKeyExpirationListener implements MessageListener {
bizLogPdu.setTraceID(IdUtil.objectId()); bizLogPdu.setTraceID(IdUtil.objectId());
bizLogPdu.setUserCode("system"); bizLogPdu.setUserCode("system");
bizLogPdu.setDeviceCode(deviceEntity.getDeviceCode()); bizLogPdu.setDeviceCode(deviceEntity.getDeviceCode());
bizLogPdu.setEventTopic("online"); bizLogPdu.setEventTopic("offline");
bizLogPdu.setEventTopicName(LogTypeEnum.上报事件.name()); bizLogPdu.setEventTopicName(LogTypeEnum.上报事件.name());
bizLogPdu.setMsg(Base64.encode("设备下线")); bizLogPdu.setMsg(Base64.encode("设备下线"));
bizLogPdu.setLogLevel("INFO"); bizLogPdu.setLogLevel("INFO");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment