From c50ee67411ae358fc85b722bc5f2c8ddfe2523bc Mon Sep 17 00:00:00 2001 From: "DESKTOP-C3M45P4\\dengdan" Date: Fri, 15 Aug 2025 14:30:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E9=98=9F=E5=A1=94=E6=94=B9=E4=B8=BA30?= =?UTF-8?q?=E5=88=86=E9=92=9F=E7=BB=93=E7=AE=97=E4=B8=80=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java index 04432656d..20fc7477a 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java @@ -182,11 +182,11 @@ public class DuoduiTowerLogic { int[][] income = towers.get(0).getIncome(); int count; if (operate == 1){//普通领取 - if (nowInt < time +60){ - LOGGER.error("多队获取奖励失败,时间不足1分钟,类型:{},当前层数:{},time:{},uid:{}", type, tier, time, user.getId()); + if (nowInt < time +60 *30){ + LOGGER.error("多队获取奖励失败,时间不足30分钟,类型:{},当前层数:{},time:{},uid:{}", type, tier, time, user.getId()); throw new ErrorTableException(162);//时间不足1分钟 } - int num = (nowInt - time) / 60; + int num = (nowInt - time) / 60 * 30; int value = SSpecialConfig.getIntegerValue(SSpecialConfig.Duoduita_accumulation_time); count = Math.min(num,value); //更新数据库时间