【优化】添加多语言支持

This commit is contained in:
曹鹏飞 2026-04-11 08:52:23 +08:00
parent 4abd7f41bb
commit 31ecde7cde
2 changed files with 4 additions and 2 deletions

View File

@ -41,7 +41,8 @@ public class TicketCallBeginEvent extends ApplicationEvent implements Applicatio
.setTicketState(TicketState.Processing.getState())
.setSenderId(0)
.setSenderName("通话助手")
.setContent(userName+"发起了视频通话")
.setContentPre(userName)
.setContent("发起了视频通话")
.setCreateTime(Instant.now());
ticketChatService.addMessage(ticketId, message);
//推送消息

View File

@ -41,7 +41,8 @@ public class TicketCallBeginEvent extends ApplicationEvent implements Applicatio
.setTicketState(TicketState.Processing.getState())
.setSenderId(0)
.setSenderName("通话助手")
.setContent(userName + "发起了视频通话")
.setContentPre(userName)
.setContent("发起了视频通话")
.setCreateTime(Instant.now());
ticketChatService.addMessage(Long.valueOf(ticketId), message);
//推送消息