Authored by tanling

发券时间

@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 <properties> 18 <properties>
19 <qiniu.version>7.0.5</qiniu.version> 19 <qiniu.version>7.0.5</qiniu.version>
20 <project-name>yohoufo-fore</project-name> 20 <project-name>yohoufo-fore</project-name>
21 - <model.version>10.0-SNAPSHOT</model.version> 21 + <model.version>11.0-SNAPSHOT</model.version>
22 </properties> 22 </properties>
23 23
24 <dependencyManagement> 24 <dependencyManagement>
@@ -80,7 +80,10 @@ public class CouponServiceImpl implements ICouponService { @@ -80,7 +80,10 @@ public class CouponServiceImpl implements ICouponService {
80 Integer now = DateUtil.getCurrentTimeSecond(); 80 Integer now = DateUtil.getCurrentTimeSecond();
81 Integer end = (int) LocalDateTime.of(LocalDate.now().plusDays(7), LocalTime.MAX).toEpochSecond(ZoneOffset.of("+8")); 81 Integer end = (int) LocalDateTime.of(LocalDate.now().plusDays(7), LocalTime.MAX).toEpochSecond(ZoneOffset.of("+8"));
82 validityRange = Range.open(now, end); 82 validityRange = Range.open(now, end);
83 - }else { 83 + }else if(CouponSendType.PLATFORM_SEND_COUPON.equals(sendType)){
  84 + repeatable = true;
  85 + validityRange = null;
  86 + } else {
84 repeatable = false; 87 repeatable = false;
85 validityRange = null; 88 validityRange = null;
86 } 89 }