diff --git a/pigx-common/pigx-common-bom/pom.xml b/pigx-common/pigx-common-bom/pom.xml index 943dabf8f..efbdbd7a2 100644 --- a/pigx-common/pigx-common-bom/pom.xml +++ b/pigx-common/pigx-common-bom/pom.xml @@ -39,7 +39,6 @@ 1.4.2 7.1 2.17.1 - 2.3.5 0.0.23 0.33.0 1.0.0 diff --git a/pigx-visual/pigx-mp-platform/src/main/java/com/pig4cloud/pigx/mp/handler/SubscribeHandler.java b/pigx-visual/pigx-mp-platform/src/main/java/com/pig4cloud/pigx/mp/handler/SubscribeHandler.java index c5ec6dcc1..cbd254aeb 100755 --- a/pigx-visual/pigx-mp-platform/src/main/java/com/pig4cloud/pigx/mp/handler/SubscribeHandler.java +++ b/pigx-visual/pigx-mp-platform/src/main/java/com/pig4cloud/pigx/mp/handler/SubscribeHandler.java @@ -57,13 +57,12 @@ public class SubscribeHandler extends AbstractHandler { WxAccountFans wxAccountFans = wxAccountFansMapper.selectOne( Wrappers.lambdaUpdate().eq(WxAccountFans::getOpenid, wxMessage.getFromUser())); + // 删除历史关注保存的信息 if (wxAccountFans != null) { wxAccountFansMapper.deleteById(wxAccountFans); } - else { - wxAccountFans = new WxAccountFans(); - } + wxAccountFans = new WxAccountFans(); wxAccountFans.setOpenid(wxMpUser.getOpenId()); wxAccountFans.setSubscribeStatus(String.valueOf(BooleanUtil.toInt(wxMpUser.getSubscribe()))); wxAccountFans.setSubscribeTime(LocalDateTime diff --git a/pom.xml b/pom.xml index 6bb7208a5..4f041c777 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,7 @@ 3.1 3.0.4 2.12.6 + 2.3.5 2.2.9 1.5.0-beta 1.11.543 @@ -97,6 +98,12 @@ lombok provided + + + com.sun.xml.bind + jaxb-impl + ${jaxb.version} + org.springframework.boot