feat:服务号通知异常处理
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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锁");
|
||||
|
||||
Reference in New Issue
Block a user