|
|
@@ -170,7 +170,7 @@ public class RedisExpiredPhotographListener extends KeyExpirationEventMessageLis
|
|
|
//查询配置
|
|
|
WarningConfig warningConfig = warningConfigService.getOne(new LambdaQueryWrapper<WarningConfig>().eq(WarningConfig::getWarningType, 1));
|
|
|
Integer anomalyCount = warningConfig.getAnomalyCount();
|
|
|
- String lastKey = key.substring(0,key.lastIndexOf("~")) + (anomalyCount - 1);
|
|
|
+ String lastKey = key.substring(0,key.lastIndexOf("~")) +"~"+ (anomalyCount - 1);
|
|
|
log.info("lastKey = {}",lastKey);
|
|
|
if (!redisService.hasKey(lastKey)) {
|
|
|
log.info("进入最后一次循环!");
|
|
|
@@ -264,7 +264,7 @@ public class RedisExpiredPhotographListener extends KeyExpirationEventMessageLis
|
|
|
}
|
|
|
}
|
|
|
log.info("打开喇叭-远程调用喇叭播放音乐,playVoList={}", JSON.toJSONString(playVoList));
|
|
|
- R r = remoteSpeakService.textParseUrlIps("sss", playVoList);
|
|
|
+ R r = remoteSpeakService.textParseUrlIps(systemText, playVoList);
|
|
|
log.info("打开喇叭-远程调用喇叭播放音乐返回信息:{}", JSON.toJSONString(r));
|
|
|
}
|
|
|
}
|