...
|
...
|
@@ -80,7 +80,10 @@ public class CouponServiceImpl implements ICouponService { |
|
|
Integer now = DateUtil.getCurrentTimeSecond();
|
|
|
Integer end = (int) LocalDateTime.of(LocalDate.now().plusDays(7), LocalTime.MAX).toEpochSecond(ZoneOffset.of("+8"));
|
|
|
validityRange = Range.open(now, end);
|
|
|
}else {
|
|
|
}else if(CouponSendType.PLATFORM_SEND_COUPON.equals(sendType)){
|
|
|
repeatable = true;
|
|
|
validityRange = null;
|
|
|
} else {
|
|
|
repeatable = false;
|
|
|
validityRange = null;
|
|
|
}
|
...
|
...
|
|