公会修改去除超管绑定限制
This commit is contained in:
@@ -257,10 +257,10 @@ public class GuildManageAdminService {
|
||||
Optional.ofNullable(inviteUid)
|
||||
.filter(x -> !Objects.equals(guild.getInviteUid(), x))
|
||||
.ifPresent(x -> {
|
||||
Optional.ofNullable(bdInfoAdminService.existBdBoundGuildId(guild.getId()))
|
||||
.ifPresent(bdGuild -> {
|
||||
throw new AdminServiceException("公会已经通过邀请人绑定BD,如需更改邀请人,请移步BD管理解除BD绑定");
|
||||
});
|
||||
// Optional.ofNullable(bdInfoAdminService.existBdBoundGuildId(guild.getId()))
|
||||
// .ifPresent(bdGuild -> {
|
||||
// throw new AdminServiceException("公会已经通过邀请人绑定BD,如需更改邀请人,请移步BD管理解除BD绑定");
|
||||
// });
|
||||
bdInfoAdminService.bindBdGuild(guild, x);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user