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

升级 jfinal-weixin 到 3.0

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