|
|
@@ -437,6 +437,8 @@ public class IotDataTransferService {
|
|
|
MqttTopics.IotInfo.PERSON.getDesc(),
|
|
|
transferVO.getUsername()
|
|
|
);
|
|
|
+ // 添加2S延时
|
|
|
+ Thread.sleep(2000);
|
|
|
result.put("successCount", result.get("successCount") + 1);
|
|
|
log.info("【人员统计】推送成功,单元:{},人数:{}", buildUnit.getUnitName(), peopleCount);
|
|
|
} catch (Exception e) {
|