Authored by 毕凯

优惠券名称字段

... ... @@ -49,9 +49,9 @@
{{count}}张可用
</span>
{{#if name}}
<span class="used coupon-use" data-name="{{name}}">
{{name}}
{{#if couponName}}
<span class="used coupon-use" data-name="{{couponName}}">
{{couponName}}
<i class="iconfont">&#xe614;</i>
</span>
{{^}}
... ...
... ... @@ -488,7 +488,7 @@ class CartModel
// 优惠券数据
$coupons = array();
!empty($orderCompute['coupon_amount']) && $coupons['name'] = $orderInfo['couponName'];
!empty($orderCompute['coupon_amount']) && $coupons['couponName'] = $orderInfo['couponName'];
$coupons += self::getCouponList($uid, true);
$result['coupon'] = $coupons;
}
... ...