Commit 81c74802 authored by hujiebin's avatar hujiebin

Revert "去掉最近访问的人 todo"

This reverts commit f25299ec.
parent c7278791
...@@ -424,7 +424,6 @@ func GetRoomMicUsers(model *domain.Model, groupIds []string) (map[string][]uint6 ...@@ -424,7 +424,6 @@ func GetRoomMicUsers(model *domain.Model, groupIds []string) (map[string][]uint6
// 批量查询房间最近N天的访问人数。使用二级缓存 // 批量查询房间最近N天的访问人数。使用二级缓存
func BatchGetRoomVisitCount(logE *logrus.Entry, groupIds []string) (map[string]int64, error) { func BatchGetRoomVisitCount(logE *logrus.Entry, groupIds []string) (map[string]int64, error) {
return make(map[string]int64), nil // todo
//roomVisitCount, err := redis.GetAllRoomVisitCount() //roomVisitCount, err := redis.GetAllRoomVisitCount()
roomVisitCount, err := room_c.MGetRoomVisitCount(groupIds) roomVisitCount, err := room_c.MGetRoomVisitCount(groupIds)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment