修改多队奖励为30分钟产出1次
parent
9a79ed7c15
commit
b28a69daad
|
|
@ -186,7 +186,7 @@ public class DuoduiTowerLogic {
|
|||
LOGGER.error("多队获取奖励失败,时间不足30分钟,类型:{},当前层数:{},time:{},uid:{}", type, tier, time, user.getId());
|
||||
throw new ErrorTableException(162);//时间不足1分钟
|
||||
}
|
||||
int num = (nowInt - time) / 60 * 30;
|
||||
int num = (nowInt - time) / (60 * 30);
|
||||
int value = SSpecialConfig.getIntegerValue(SSpecialConfig.Duoduita_accumulation_time);
|
||||
count = Math.min(num,value);
|
||||
//更新数据库时间
|
||||
|
|
|
|||
Loading…
Reference in New Issue