From 3c5609545b27552634bf2d10e6e893b3da7f9dba Mon Sep 17 00:00:00 2001 From: misworga831 Date: Mon, 18 Sep 2023 16:50:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E4=BF=83=E9=94=80?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8=EF=BC=8C=E6=B4=BB=E5=8A=A8=E8=B5=B7=E5=A7=8B?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=B0=8F=E4=BA=8E=E7=8E=B0=E5=9C=A8=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/lili/modules/promotion/tools/PromotionTools.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/promotion/tools/PromotionTools.java b/framework/src/main/java/cn/lili/modules/promotion/tools/PromotionTools.java index 6dc91f2f..19f711b0 100644 --- a/framework/src/main/java/cn/lili/modules/promotion/tools/PromotionTools.java +++ b/framework/src/main/java/cn/lili/modules/promotion/tools/PromotionTools.java @@ -55,9 +55,9 @@ public class PromotionTools { DateTime now = DateUtil.date(); //如果活动起始时间小于现在时间 - if (now.after(startTime)) { - throw new ServiceException(ResultCode.PROMOTION_START_TIME_ERROR); - } +// if (now.after(startTime)) { +// throw new ServiceException(ResultCode.PROMOTION_START_TIME_ERROR); +// } //如果活动结束时间小于现在时间 if (endTime != null && now.after(endTime)) { throw new ServiceException(ResultCode.PROMOTION_END_TIME_ERROR);