This commit is contained in:
2023-11-09 11:39:49 +08:00
parent 6605000c91
commit 60e0ad3c23
+4
View File
@@ -197,6 +197,10 @@ class UserCouponService extends BaseService
// 处理存在互斥卷情况
foreach ($coupons as $coupon) {
if ($coupon['is_can_use'] == 0){
continue;
}
if (empty($selected_coupon)) {
$selected_coupons[] = $coupon; // 选中的优惠卷数据