Showing
2 changed files
with
4 additions
and
4 deletions
@@ -49,9 +49,9 @@ | @@ -49,9 +49,9 @@ | ||
49 | {{count}}张可用 | 49 | {{count}}张可用 |
50 | </span> | 50 | </span> |
51 | 51 | ||
52 | - {{#if name}} | ||
53 | - <span class="used coupon-use" data-name="{{name}}"> | ||
54 | - {{name}} | 52 | + {{#if couponName}} |
53 | + <span class="used coupon-use" data-name="{{couponName}}"> | ||
54 | + {{couponName}} | ||
55 | <i class="iconfont"></i> | 55 | <i class="iconfont"></i> |
56 | </span> | 56 | </span> |
57 | {{^}} | 57 | {{^}} |
@@ -488,7 +488,7 @@ class CartModel | @@ -488,7 +488,7 @@ class CartModel | ||
488 | 488 | ||
489 | // 优惠券数据 | 489 | // 优惠券数据 |
490 | $coupons = array(); | 490 | $coupons = array(); |
491 | - !empty($orderCompute['coupon_amount']) && $coupons['name'] = $orderInfo['couponName']; | 491 | + !empty($orderCompute['coupon_amount']) && $coupons['couponName'] = $orderInfo['couponName']; |
492 | $coupons += self::getCouponList($uid, true); | 492 | $coupons += self::getCouponList($uid, true); |
493 | $result['coupon'] = $coupons; | 493 | $result['coupon'] = $coupons; |
494 | } | 494 | } |
-
Please register or login to post a comment