Merge branch 'hotfix_0506_发券时间' into test6.9.3
Showing
1 changed file
with
4 additions
and
1 deletions
@@ -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 | } |
-
Please register or login to post a comment