This commit is contained in:
苏尹岚
2020-12-09 16:23:02 +08:00
parent 72c29abdd4
commit a3258e9d1a

View File

@@ -158,7 +158,7 @@ func handleMessages() {
//读取通道中的消息 //读取通道中的消息
msg := <-broadcast msg := <-broadcast
if msg.GroupID == 0 { if msg.GroupID == 0 {
globals.SugarLogger.Debugf("heart %v", utils.Format4Output(msg, false)) // globals.SugarLogger.Debugf("heart %v", utils.Format4Output(msg, false))
if err := clientsHeart[msg.UserID].WriteJSON(&model.ImMessageRecord{ if err := clientsHeart[msg.UserID].WriteJSON(&model.ImMessageRecord{
Key: "pang", Key: "pang",
}); err != nil { }); err != nil {