提示修改
parent
a765b7ec45
commit
6742b70568
|
|
@ -359,7 +359,7 @@ public class GuildLogic {
|
|||
}
|
||||
//todo 判读人数是否已达上限
|
||||
if(guildInfo.getTotalMembers()>=STableManager.getConfig(SGuildLevelConfig.class).get(guildInfo.getLevel()).getNum()){
|
||||
throw new ErrorCodeException(ErrorCode.newDefineCode("该工会人数已达上限"));
|
||||
throw new ErrorCodeException(ErrorCode.FAMILY_MAX);
|
||||
}
|
||||
boolean isSuccess = RedisUtil.getInstence().tryGetDistributedLock(RedisKey.OPERATE_FAMILY, Integer.toString(guildId), Integer.toString(uid), 500);
|
||||
if(!isSuccess){
|
||||
|
|
|
|||
Loading…
Reference in New Issue