This commit is contained in:
aozhiwei 2024-04-22 15:39:01 +08:00
parent 33b90c5c39
commit 835a0e2fad

View File

@ -240,6 +240,9 @@ func (this *cacheMgr) AsyncRecommendList(recommendType int32, accountId string,
}
doFunc()
})
} else if recommendType == constant.RECOMMEND_TYPE_USER {
GetPlayerMgr().GetRecommendPlayers(excludeHums, outHums, 5)
doFunc()
} else {
if recommendType == constant.RECOMMEND_TYPE_ALL {
GetPlayerMgr().GetRecommendPlayers(excludeHums, outHums, 5)