From 112624c64e4a3955bcb1749328f7167f6af38011 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Wed, 8 May 2019 17:22:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9]:=E6=A8=A1=E6=9D=BF=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/controller/WechatWeappMsgTemplateController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mlWechatOpen/src/main/java/com/iformall/controller/WechatWeappMsgTemplateController.java b/mlWechatOpen/src/main/java/com/iformall/controller/WechatWeappMsgTemplateController.java index e9d7407..8fd76e2 100644 --- a/mlWechatOpen/src/main/java/com/iformall/controller/WechatWeappMsgTemplateController.java +++ b/mlWechatOpen/src/main/java/com/iformall/controller/WechatWeappMsgTemplateController.java @@ -124,6 +124,7 @@ public class WechatWeappMsgTemplateController { try { WxMaService maService = openService.getWxOpenComponentService().getWxMaServiceByAppid(appId); WxMaTemplateListResult ret = maService.getTemplateService().findTemplateList(pageNum, pageSize); + logger.info(ret.toString()); return new ResultData(ret); } catch (WxErrorException e) { logger.error(e.getMessage()); From 0895ec1a36c569486e9ed812c8603cb9f90941ac Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Wed, 8 May 2019 21:53:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[springboot][=E5=8D=87=E7=BA=A7]:spring=20b?= =?UTF-8?q?oot=20=E5=8D=87=E7=BA=A7=E5=88=B0=202.1.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mlWechatOpen/pom.xml | 2 ++ .../src/main/java/com/iformall/config/ShiroConfig.java | 4 ++-- pom.xml | 9 +-------- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/mlWechatOpen/pom.xml b/mlWechatOpen/pom.xml index 03fabc8..c12a924 100644 --- a/mlWechatOpen/pom.xml +++ b/mlWechatOpen/pom.xml @@ -71,6 +71,7 @@ com.squareup.okio, com.sun, com.sun.mail, + com.sun.xml.messaging.saaj, com.thoughtworks.xstream, com.zaxxer, commons-beanutils, @@ -112,6 +113,7 @@ org.checkerframework, org.crazycake, org.dom4j, + org.glassfish, org.flowable, org.hibernate.validator, org.jasypt, diff --git a/mlWechatOpen/src/main/java/com/iformall/config/ShiroConfig.java b/mlWechatOpen/src/main/java/com/iformall/config/ShiroConfig.java index 24db6fe..62e95a6 100644 --- a/mlWechatOpen/src/main/java/com/iformall/config/ShiroConfig.java +++ b/mlWechatOpen/src/main/java/com/iformall/config/ShiroConfig.java @@ -154,7 +154,7 @@ public class ShiroConfig { } @Bean - public SecurityManager securityManager(@Qualifier("myRetryLimitCredentialsMatcher") MyRetryLimitCredentialsMatcher matcher) { + public SecurityManager securityManager(@Qualifier("retryLimitCredentialsMatcher") MyRetryLimitCredentialsMatcher matcher) { DefaultWebSecurityManager securityManager = new DefaultWebSecurityManager(); //设置realm. securityManager.setRealm(myShiroRealm(matcher)); @@ -181,7 +181,7 @@ public class ShiroConfig { * * @return */ - @Bean(name = "myRetryLimitCredentialsMatcher") + @Bean(name = "retryLimitCredentialsMatcher") public MyRetryLimitCredentialsMatcher hashedCredentialsMatcher() { MyRetryLimitCredentialsMatcher hashedCredentialsMatcher = new MyRetryLimitCredentialsMatcher(); diff --git a/pom.xml b/pom.xml index be988f6..9a2023d 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.7.RELEASE + 2.1.4.RELEASE @@ -266,13 +266,6 @@ 2.6 - - - cn.afterturn - easypoi-spring-boot-starter - 4.0.0 - - com.squareup.okhttp3