Compare commits
2 Commits
9a9cb3b1f0
...
2b98fefa69
Author | SHA1 | Date | |
---|---|---|---|
2b98fefa69 | |||
e2cf0be0cb |
@ -106,6 +106,7 @@ func NewMessage(ctx context.Context, cache *chatCache.ChatCache, sender *account
|
|||||||
notice.BuildMessage(resp.Data)
|
notice.BuildMessage(resp.Data)
|
||||||
fmt.Printf("ws消息提醒:%+v\n", notice)
|
fmt.Printf("ws消息提醒:%+v\n", notice)
|
||||||
_, err = consts.ChatRoom.SendSessionMessage(sender, request.SessionId, ws.NewChatMsgType, notice)
|
_, err = consts.ChatRoom.SendSessionMessage(sender, request.SessionId, ws.NewChatMsgType, notice)
|
||||||
|
fmt.Println("消息提醒结果:", err)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Print("发送新消息通知失败", zap.Error(err), zap.Any("notice", notice))
|
log.Print("发送新消息通知失败", zap.Error(err), zap.Any("notice", notice))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user