添加好友提示
parent
a520eb96db
commit
697e2892a8
|
@ -259,7 +259,11 @@ public class FriendLogic {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (friends1.size() >= maxFriends){
|
if (friends1.size() >= maxFriends){
|
||||||
throw new ErrorCodeException(ErrorCode.FRIENDS_SIDE_MAX);
|
if(inviteUidsList.size()>1){
|
||||||
|
throw new ErrorCodeException(ErrorCode.FRIENDS_SIDE_MAX);
|
||||||
|
}else{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (applyFriends.size()>= maxApplyFriends){
|
if (applyFriends.size()>= maxApplyFriends){
|
||||||
applyFriends.remove(0);
|
applyFriends.remove(0);
|
||||||
|
|
Loading…
Reference in New Issue