From 5a341723437802ac1605edf584a6468491a2247e Mon Sep 17 00:00:00 2001 From: yancy <13698591302@163.com> Date: Tue, 6 Jun 2023 16:30:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=E4=B8=8D=E5=BA=94=E8=AF=A5=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E5=AF=B9=E8=B1=A1=E8=AE=BF=E9=97=AE=E9=9D=99=E6=80=81?= =?UTF-8?q?=E6=88=90=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/abin/mallchat/common/common/utils/RedisUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallchat-common/src/main/java/com/abin/mallchat/common/common/utils/RedisUtils.java b/mallchat-common/src/main/java/com/abin/mallchat/common/common/utils/RedisUtils.java index 4300ce8..e694ec1 100644 --- a/mallchat-common/src/main/java/com/abin/mallchat/common/common/utils/RedisUtils.java +++ b/mallchat-common/src/main/java/com/abin/mallchat/common/common/utils/RedisUtils.java @@ -25,7 +25,7 @@ public class RedisUtils { @PostConstruct public void init() { - this.stringRedisTemplate = SpringUtil.getBean(StringRedisTemplate.class); + RedisUtils.stringRedisTemplate = SpringUtil.getBean(StringRedisTemplate.class); } private static final String LUA_INCR_EXPIRE = From 5c252b1d0487df260f5e1f4a2bd00882fa7d50ac Mon Sep 17 00:00:00 2001 From: Yancyji <43696248+Yancyji@users.noreply.github.com> Date: Mon, 19 Jun 2023 08:51:51 +0000 Subject: [PATCH 2/2] =?UTF-8?q?style:TextMsgHandler=E4=B8=AD=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E8=A3=85=E9=85=8D=E8=A7=84=E8=8C=83=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=82static=20=E6=88=90=E5=91=98=E4=B8=8D?= =?UTF-8?q?=E5=BA=94=E8=AF=A5=E4=BD=BF=E7=94=A8Autowired=E6=B3=A8=E8=A7=A3?= =?UTF-8?q?=E8=A3=85=E9=85=8D=EF=BC=9B=E4=B8=94=E4=BC=9A=E6=89=BE=E4=B8=8D?= =?UTF-8?q?=E5=88=B0PrioritizedUrlTitleDiscover=E7=B1=BB=E5=9E=8B=E7=9A=84?= =?UTF-8?q?bean=E5=AF=B9=E8=B1=A1=E3=80=82=E4=BF=AE=E5=A4=8D=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E4=B8=BA=EF=BC=9A=E5=8E=BB=E9=99=A4@Autowired?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3=EF=BC=8C=E4=BD=BF=E7=94=A8new=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E5=88=9B=E5=BB=BA=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../custom/chat/service/strategy/msg/TextMsgHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallchat-custom-server/src/main/java/com/abin/mallchat/custom/chat/service/strategy/msg/TextMsgHandler.java b/mallchat-custom-server/src/main/java/com/abin/mallchat/custom/chat/service/strategy/msg/TextMsgHandler.java index 9b91bc2..4ac036b 100644 --- a/mallchat-custom-server/src/main/java/com/abin/mallchat/custom/chat/service/strategy/msg/TextMsgHandler.java +++ b/mallchat-custom-server/src/main/java/com/abin/mallchat/custom/chat/service/strategy/msg/TextMsgHandler.java @@ -46,7 +46,7 @@ public class TextMsgHandler extends AbstractMsgHandler { private UserInfoCache userInfoCache; @Autowired private IRoleService iRoleService; - @Autowired + private static final PrioritizedUrlTitleDiscover URL_TITLE_DISCOVER = new PrioritizedUrlTitleDiscover(); @Override