好友 fix: 对方申请数满时不提交申请
This commit is contained in:
@@ -311,9 +311,9 @@ export class FriendHandler {
|
|||||||
let applyResult = await RoleModel.increaseFriendApplyCnt(hisRoleId, 1, 50);
|
let applyResult = await RoleModel.increaseFriendApplyCnt(hisRoleId, 1, 50);
|
||||||
if(!applyResult) {
|
if(!applyResult) {
|
||||||
str = getResStr(STATUS.FRIEND_HIS_APPLY_MAX);
|
str = getResStr(STATUS.FRIEND_HIS_APPLY_MAX);
|
||||||
|
} else {
|
||||||
|
await FriendApplyModel.createApply(hisRoleId, role);
|
||||||
}
|
}
|
||||||
|
|
||||||
await FriendApplyModel.createApply(hisRoleId, role);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user