This commit is contained in:
苏尹岚
2020-12-04 15:11:14 +08:00
parent ffb12a0e6b
commit 513e176bf6

View File

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