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
b.partner_id,
b.union_id,
.service_account_open_id,
MAX(b.update_time)
b.partner_id as partnerId,
b.union_id as unionId,
b.service_account_open_id as serviceAccountOpenId,
MAX(b.update_time) as lastUpdateTime
from xfsg_partner_user_info a
left join xfsg_partner_user_wechat_bind b
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);
});
} catch (Exception e) {
log.info("发布流程异常,已取消发布");
log.info("发布流程异常 e:{}",e.getMessage());
} finally {
releaseLocks(lockKeys);
log.info("发布流程结束已释放Redis锁");