mirror of
https://gitee.com/beecue/fastbee.git
synced 2026-09-20 20:02:06 +08:00
refactor(规则引擎): topic转换失败修复
This commit is contained in:
@@ -118,7 +118,7 @@ public class MqttPublish implements MqttHandler {
|
||||
reportBo.setTopicName(context.getTopic());
|
||||
reportBo.setData(context.getPayload().getBytes(StandardCharsets.UTF_8));
|
||||
}
|
||||
if (topicName.contains("property")) {
|
||||
if (reportBo.getTopicName().contains("property")) {
|
||||
deviceReportMessageService.parseReportMsg(reportBo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user