REQ-3502: fix bugs

This commit is contained in:
yanglin 2025-01-16 18:57:59 +08:00
parent 94a7261fde
commit ca0032ac9f

View File

@ -135,6 +135,12 @@ public class PushYouMengMessageHandler implements EventHandler, InitializingBean
return;
}
MessageHistoryUpdatedPayload.MsgBody msgBody = messageBody.resolveMsgBody();
if (msgBody == null) {
log.warn("push-handler, 模板code:{}, msgBody为空 [不是普通消息], event: {}", card.getTemplateCode(), event);
return;
}
youMengMessageService.sendPushMessage(MsgBody4Guest.builder()
.ty(0)
.f("0")