This commit is contained in:
aozhiwei 2024-03-30 13:00:19 +08:00
parent e2945e13a6
commit 9bfe0fb0ea
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ type FriendMgr interface {
IsFriend(string, string) bool
GetFriendList(string) []string
GetBlackList(string) []string
AsyncGetApplyList(string, string, func(int32, string, int64, []string))
AsyncGetApplyList(int64, string, func(int32, string, int64, []string))
AsyncAddFriend(string, string, func(int32, string))
AsyncAccpetApply(string, string, func(int32, string))
AsyncRejectApply(string, string, func(int32, string))

View File

@ -92,7 +92,7 @@ func (this *player) CMSearchUserByAccountId(hdr *f5.MsgHdr, msg *cs.CMSearchUser
func (this *player) CMListPendingFriendRequest(hdr *f5.MsgHdr, msg *cs.CMListPendingFriendRequest) {
GetFriendMgr().AsyncGetApplyList(
"",
0,
this.GetAccountId(),
func (errCode int32, errMsg string, sinceId int64, accountIds []string) {
rspMsg := new(cs.SMListPendingFriendRequest)