This commit is contained in:
苏尹岚
2020-12-04 14:51:01 +08:00
parent a5aa853f06
commit 42bbc6767c

View File

@@ -126,7 +126,7 @@ func (c *EventController) TestWebsocket() {
}
//如果这些人不在这个组的ws池子里就打上未读标记
for _, v := range userIDs {
fmt.Println("11111111111111111111111111111111111", utils.Format4Output(clients[s.GroupID], false))
fmt.Println("11111111111111111111111111111111111", utils.Format4Output(clients[s.GroupID][v], false))
if clients[s.GroupID][v] == nil {
messageGroupReads, _ := dao.GetMessageGroupRead(db, v, s.GroupID)
for _, vv := range messageGroupReads {