提交 9607c718 编写于 作者: 如梦技术's avatar 如梦技术 🐛

升级 jfinal-weixin 到 3.0

上级 8432791d
...@@ -3,12 +3,12 @@ version = VERSION ...@@ -3,12 +3,12 @@ version = VERSION
ext { ext {
javaVersion = JavaVersion.VERSION_1_8 javaVersion = JavaVersion.VERSION_1_8
springBootVersion = "2.3.4.RELEASE" springBootVersion = "2.4.4"
jfinalVersion = "4.9.05" jfinalVersion = "4.9.08"
jfinalWeixinVersion = "2.9" jfinalWeixinVersion = "3.0"
okhttpVersion = "3.14.9" okhttpVersion = "3.14.9"
micaAutoVersion = "1.2.5" micaAutoVersion = "2.0.3"
lombokVersion = "1.18.12" lombokVersion = "1.18.18"
} }
allprojects { allprojects {
......
VERSION=2.0.5 VERSION=2.0.6
GROUPID=net.dreamlu GROUPID=net.dreamlu
userName=chunmeng userName=chunmeng
......
...@@ -24,7 +24,8 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter ...@@ -24,7 +24,8 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
public class DreamWeixinAutoConfiguration { public class DreamWeixinAutoConfiguration {
@Bean @Bean
public SpringAccessTokenCache springAccessTokenCache(CacheManager cacheManager, DreamWeixinProperties properties) { public SpringAccessTokenCache springAccessTokenCache(CacheManager cacheManager,
DreamWeixinProperties properties) {
Cache cache = cacheManager.getCache(properties.getAccessTokenCache()); Cache cache = cacheManager.getCache(properties.getAccessTokenCache());
return new SpringAccessTokenCache(cache); return new SpringAccessTokenCache(cache);
} }
......
...@@ -128,12 +128,6 @@ public abstract class MsgController { ...@@ -128,12 +128,6 @@ public abstract class MsgController {
processInEqubindEvent((InEqubindEvent) msg); processInEqubindEvent((InEqubindEvent) msg);
else if (msg instanceof InEquDataMsg) else if (msg instanceof InEquDataMsg)
processInEquDataMsg((InEquDataMsg) msg); processInEquDataMsg((InEquDataMsg) msg);
//===================微信智能硬件========================//
else if (msg instanceof InEqubindEvent)
processInEqubindEvent((InEqubindEvent) msg);
else if (msg instanceof InEquDataMsg)
processInEquDataMsg((InEquDataMsg) msg);
//===================微信智能硬件========================//
else if (msg instanceof InNotDefinedEvent) { else if (msg instanceof InNotDefinedEvent) {
logger.error("未能识别的事件类型。 消息 xml 内容为:\n" + imXmlMsg); logger.error("未能识别的事件类型。 消息 xml 内容为:\n" + imXmlMsg);
processIsNotDefinedEvent((InNotDefinedEvent) msg); processIsNotDefinedEvent((InNotDefinedEvent) msg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册