Authored by tanling

发券时间

... ... @@ -18,7 +18,7 @@
<properties>
<qiniu.version>7.0.5</qiniu.version>
<project-name>yohoufo-fore</project-name>
<model.version>10.0-SNAPSHOT</model.version>
<model.version>11.0-SNAPSHOT</model.version>
</properties>
<dependencyManagement>
... ...
... ... @@ -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;
}
... ...