...
|
...
|
@@ -486,7 +486,7 @@ class CartModel |
|
|
|
|
|
// 优惠券数据
|
|
|
$coupons = array('couponName' => '');
|
|
|
if (!empty($orderCompute['coupon_amount'])) {
|
|
|
if (isset($orderCompute['coupon_amount']) && (!empty($orderCompute['coupon_amount']) || ($orderCompute['coupon_amount'] === 0 && $orderCompute['shipping_cost'] === 0))) {
|
|
|
$coupons['couponName'] = $orderInfo['couponName'];
|
|
|
}
|
|
|
$result['coupon'] = $coupons;
|
...
|
...
|
|