1
This commit is contained in:
parent
6a8b21d857
commit
5014854c18
@ -217,6 +217,7 @@ CREATE TABLE `t_recent_battle` (
|
||||
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||
PRIMARY KEY (`idx`),
|
||||
KEY `last_battle_time` (`last_battle_time`),
|
||||
KEY `account_id1_account_id2` (`account_id1`, `account_id2`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
2
server/imserver/cache/cachemgr.go
vendored
2
server/imserver/cache/cachemgr.go
vendored
@ -186,7 +186,7 @@ func (this *cacheMgr) AsyncRecommendList(recommendType int32, accountId string,
|
||||
excludeHums[accountId] = 1
|
||||
outHums := make(map[string]int32)
|
||||
if recommendType == constant.RECOMMEND_TYPE_BATTLE {
|
||||
GetPlayerMgr().GetRecommendPlayers(excludeHums, outHums, 3)
|
||||
GetPlayerMgr().GetRecommendPlayers(excludeHums, outHums, 5)
|
||||
} else if recommendType == constant.RECOMMEND_TYPE_RECENT_GAME {
|
||||
f5.GetJsStyleDb().PageQuery(
|
||||
constant.FRIEND_DB,
|
||||
|
Loading…
x
Reference in New Issue
Block a user