update 回滚错误的修改 record无法投递到redis序列化

This commit is contained in:
疯狂的狮子Li
2026-03-17 21:04:24 +08:00
parent fcfa5eb767
commit 9aed0b06ca
9 changed files with 73 additions and 38 deletions

View File

@@ -92,7 +92,9 @@ public class FlwCommonServiceImpl implements IFlwCommonService {
try {
switch (messageTypeEnum) {
case SYSTEM_MESSAGE -> {
SseMessageDTO dto = new SseMessageDTO(userIds, message);
SseMessageDTO dto = new SseMessageDTO();
dto.setUserIds(userIds);
dto.setMessage(message);
SseMessageUtils.publishMessage(dto);
}
case EMAIL_MESSAGE -> MailUtils.sendText(emails, subject, message);