This commit is contained in:
苏尹岚
2020-12-04 15:00:15 +08:00
parent 1483691937
commit c086f337a4

View File

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