fix take
parent
cf0b06fa8c
commit
6f2955e08f
|
@ -509,7 +509,7 @@ public class FriendLogic {
|
|||
MessageUtil.sendErrorResponse(iSession, 0, msgId, "没有该好友");
|
||||
return;
|
||||
}
|
||||
if (haveRewardMap.get(friendId) !=1){
|
||||
if (haveRewardMap.containsKey(friendId) && haveRewardMap.get(friendId) !=1){
|
||||
MessageUtil.sendErrorResponse(iSession, 0, msgId, "已领取赠礼");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue