src/main/java/com/genersoft/iot/vmp/utils/redis/RedisUtil.java
@@ -9,7 +9,7 @@ import org.springframework.util.CollectionUtils; /** * @Description:Redis工具类 * @description:Redis工具类 * @author: swwheihei * @date: 2020年5月6日 下午8:27:29 */ @@ -729,4 +729,10 @@ return new ArrayList<>(keys); } // ============================== 消息发送与订阅 ============================== public void convertAndSend(String channel, String msg) { redisTemplate.convertAndSend(channel, msg); } }