From 1401ce98d480cc4c77507d86dc35c939a5becfe9 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期三, 15 十二月 2021 11:46:26 +0800
Subject: [PATCH] 优化mysql脚本
---
src/main/java/com/genersoft/iot/vmp/utils/redis/RedisUtil.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/utils/redis/RedisUtil.java b/src/main/java/com/genersoft/iot/vmp/utils/redis/RedisUtil.java
index f89b30d..da09851 100644
--- a/src/main/java/com/genersoft/iot/vmp/utils/redis/RedisUtil.java
+++ b/src/main/java/com/genersoft/iot/vmp/utils/redis/RedisUtil.java
@@ -3,6 +3,7 @@
import java.util.*;
import java.util.concurrent.TimeUnit;
+import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.*;
import org.springframework.stereotype.Component;
@@ -730,7 +731,8 @@
}
// ============================== 娑堟伅鍙戦�佷笌璁㈤槄 ==============================
- public void convertAndSend(String channel, String msg) {
+ public void convertAndSend(String channel, JSONObject msg) {
+// redisTemplate.convertAndSend(channel, msg);
redisTemplate.convertAndSend(channel, msg);
}
--
Gitblit v1.8.0