红包最大金额
parent
204c2f4a82
commit
ef5c32772d
|
@ -1155,7 +1155,7 @@ public class GuildLogic {
|
|||
if(config==null){
|
||||
return;
|
||||
}
|
||||
int maxCount = config.getTotalMoney()[1];
|
||||
long maxCount = config.getTotalMoney()[1];
|
||||
long[] generate = HongBaoAlgorithm.generate(maxCount, config.getNum(), maxCount*config.getMaxPercent()/10000, maxCount*config.getMinPercent()/10000);
|
||||
if(generate==null){
|
||||
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
|
||||
|
|
Loading…
Reference in New Issue