feat:服务号通知异常处理

This commit is contained in:
苏竹红
2025-10-16 16:31:45 +08:00
parent 1a416ce4b4
commit 7b88d3bec9
2 changed files with 5 additions and 5 deletions

View File

@@ -197,10 +197,10 @@
<select id="selectLastBindRecord" resultType="com.cool.store.dto.wechat.ServiceAccountOpenIdDTO"> <select id="selectLastBindRecord" resultType="com.cool.store.dto.wechat.ServiceAccountOpenIdDTO">
select select
b.partner_id, b.partner_id as partnerId,
b.union_id, b.union_id as unionId,
.service_account_open_id, b.service_account_open_id as serviceAccountOpenId,
MAX(b.update_time) MAX(b.update_time) as lastUpdateTime
from xfsg_partner_user_info a from xfsg_partner_user_info a
left join xfsg_partner_user_wechat_bind b left join xfsg_partner_user_wechat_bind b
on a.partner_id = b.partner_id on a.partner_id = b.partner_id

View File

@@ -248,7 +248,7 @@ public class MessageTemplateServiceImpl implements MessageTemplateService {
wechatTemplateService.sendMiniAppTemplate(x, WechatTemplateEnum.QUESTION_NOTICE,data,null); wechatTemplateService.sendMiniAppTemplate(x, WechatTemplateEnum.QUESTION_NOTICE,data,null);
}); });
} catch (Exception e) { } catch (Exception e) {
log.info("发布流程异常,已取消发布"); log.info("发布流程异常 e:{}",e.getMessage());
} finally { } finally {
releaseLocks(lockKeys); releaseLocks(lockKeys);
log.info("发布流程结束已释放Redis锁"); log.info("发布流程结束已释放Redis锁");