From 5ac68f268882789e502f112eac50e44f47bfde1e Mon Sep 17 00:00:00 2001 From: qi Date: Thu, 16 Apr 2020 09:29:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/lq/cms/service/impl/SysUserServiceImpl.java | 2 +- .../java/com/lq/cms/service/impl/WechatRuleServiceImpl.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/lq/cms/service/impl/SysUserServiceImpl.java b/src/main/java/com/lq/cms/service/impl/SysUserServiceImpl.java index 23cbdf1..9d48bf9 100755 --- a/src/main/java/com/lq/cms/service/impl/SysUserServiceImpl.java +++ b/src/main/java/com/lq/cms/service/impl/SysUserServiceImpl.java @@ -56,7 +56,7 @@ public class SysUserServiceImpl implements SysUserService { } @Override - @Transactional + @Transactional(rollbackFor = Exception.class) public void deleteUserById(Long userId) { //删除用户关联的角色 sysUserRoleDao.deleteByUserId(userId); diff --git a/src/main/java/com/lq/cms/service/impl/WechatRuleServiceImpl.java b/src/main/java/com/lq/cms/service/impl/WechatRuleServiceImpl.java index 98f4660..448e3aa 100644 --- a/src/main/java/com/lq/cms/service/impl/WechatRuleServiceImpl.java +++ b/src/main/java/com/lq/cms/service/impl/WechatRuleServiceImpl.java @@ -80,10 +80,7 @@ public class WechatRuleServiceImpl implements WechatRuleService { } if (WechatMessageTypeEnum.IMAGE_TEXT.getValue().equals(wechatMessage.getMessageType())){ NewsMessage newsMessage = new NewsMessage(); - } - - return baseMessage; }