This commit is contained in:
aozhiwei 2024-04-15 11:23:37 +08:00
parent 11ff251eb2
commit 590a9c9249
2 changed files with 3 additions and 1 deletions

View File

@ -179,7 +179,8 @@ func (this *cacheMgr) AsyncSearch(sinceId int64, q string, pbUsers *[]*cs.MFUser
})
}
func (this *cacheMgr) AsyncRecommendList(int32, string, *[]*cs.MFUser, func(int32, string)) {
func (this *cacheMgr) AsyncRecommendList(recommendType int32, accountId string, pbUsers *[]*cs.MFUser,
cb func(int32, string)) {
}

View File

@ -324,6 +324,7 @@ func (this *player) CMInviteFriendMsg(hdr *f5.MsgHdr, msg *cs.CMInviteFriendMsg)
func (this *player) CMRecommendList(hdr *f5.MsgHdr, msg *cs.CMRecommendList) {
rspMsg := new(cs.SMRecommendList)
rspMsg.Users = []*cs.MFUser{}
GetCacheMgr().AsyncRecommendList(
msg.GetType(),
this.GetAccountId(),