修改优惠卷过期不重复发放问题

This commit is contained in:
wucongxing 2023-11-09 14:51:03 +08:00
parent 2347f66eaf
commit 39f88f3e1b

View File

@ -72,7 +72,7 @@ class CouponService extends BaseService
// 绝对时效 // 绝对时效
$valid_end_time = strtotime($coupon['valid_end_time']); $valid_end_time = strtotime($coupon['valid_end_time']);
$date = time() + 60 * 5; $date = time() + 60 * 10;
if ($valid_end_time < $date){ if ($valid_end_time < $date){
// 超出结束使用时间 // 超出结束使用时间
return true; return true;