|
@@ -555,8 +555,8 @@ class CartModel |
|
@@ -555,8 +555,8 @@ class CartModel |
555
|
$notAvailableRes = self::searchCoupon($uid, $val['couponCode']);
|
555
|
$notAvailableRes = self::searchCoupon($uid, $val['couponCode']);
|
556
|
// 处理可用的优惠券
|
556
|
// 处理可用的优惠券
|
557
|
if ($val['isValidity'] === 'N' || (isset($notAvailableRes['code']) && $notAvailableRes['code'] !== 200)) {
|
557
|
if ($val['isValidity'] === 'N' || (isset($notAvailableRes['code']) && $notAvailableRes['code'] !== 200)) {
|
558
|
-// $val['notAvailable'] = true;
|
|
|
559
|
- continue;
|
558
|
+ $val['notAvailable'] = true;
|
|
|
559
|
+ // continue;
|
560
|
}
|
560
|
}
|
561
|
$result[] = $val;
|
561
|
$result[] = $val;
|
562
|
}
|
562
|
}
|