1
This commit is contained in:
parent
5014854c18
commit
be61205a1b
5
server/imserver/cache/cachemgr.go
vendored
5
server/imserver/cache/cachemgr.go
vendored
@ -185,8 +185,12 @@ func (this *cacheMgr) AsyncRecommendList(recommendType int32, accountId string,
|
||||
excludeHums := make(map[string]int32)
|
||||
excludeHums[accountId] = 1
|
||||
outHums := make(map[string]int32)
|
||||
doFunc := func () {
|
||||
|
||||
}
|
||||
if recommendType == constant.RECOMMEND_TYPE_BATTLE {
|
||||
GetPlayerMgr().GetRecommendPlayers(excludeHums, outHums, 5)
|
||||
doFunc()
|
||||
} else if recommendType == constant.RECOMMEND_TYPE_RECENT_GAME {
|
||||
f5.GetJsStyleDb().PageQuery(
|
||||
constant.FRIEND_DB,
|
||||
@ -214,6 +218,7 @@ func (this *cacheMgr) AsyncRecommendList(recommendType int32, accountId string,
|
||||
outHums[accountId1] = 1
|
||||
}
|
||||
}
|
||||
doFunc()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user