|
@@ -347,11 +347,11 @@ func BitmapCountClassUnread(userId string, groupId int64, classUnreadCountMap ma
|
|
|
//分类所有消息
|
|
|
classUnreadCount := classUnreadCountMap[util.IntAll(msgClass.MsgType)]
|
|
|
if classUnreadCount >= 0 {
|
|
|
- redis.Put(redisModule, key, classCount, -1)
|
|
|
+ redis.Put(redisModule, key, classUnreadCount, -1)
|
|
|
data[fmt.Sprintf("%d", msgClass.MsgType)] = int64(classUnreadCount)
|
|
|
count += int64(classUnreadCount)
|
|
|
} else {
|
|
|
- log.Println("查询classCount失败:", classCount)
|
|
|
+ log.Println("查询classUnreadCount失败,msgType:", msgClass.MsgType)
|
|
|
}
|
|
|
}
|
|
|
}
|