Merge branch 'feat-xjj-aschatFunction#A116' into dev

This commit is contained in:
徐俊杰 2025-09-01 14:23:03 +08:00
commit 2b98fefa69

View File

@ -106,6 +106,7 @@ func NewMessage(ctx context.Context, cache *chatCache.ChatCache, sender *account
notice.BuildMessage(resp.Data)
fmt.Printf("ws消息提醒:%+v\n", notice)
_, err = consts.ChatRoom.SendSessionMessage(sender, request.SessionId, ws.NewChatMsgType, notice)
fmt.Println("消息提醒结果:", err)
if err != nil {
log.Print("发送新消息通知失败", zap.Error(err), zap.Any("notice", notice))
}