diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/friend/FriendLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/friend/FriendLogic.java index 6335a4173..fefca078b 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/friend/FriendLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/friend/FriendLogic.java @@ -385,7 +385,6 @@ public class FriendLogic { List alreadyFriendList = new ArrayList<>(); int nums =0; for (Integer applyfriendId :applyFriends){ -// nums++; friendUser = UserManager.getUser(applyfriendId); friendfriendManager = friendUser.getFriendManager(); friendFriendList = friendfriendManager.getFriends(); @@ -410,6 +409,7 @@ public class FriendLogic { initFriendGriveAndRreward(applyfriendId, uid, friendManager, friendfriendManager); sendFriendInfoIndication(uid,applyfriendId,2); updateFriendUserInfo(friendUser); + nums++; } if(!alreadyFriendList.isEmpty()){ for(Integer id:alreadyFriendList){