Authored by xuqi

suspend cart count

@@ -13,7 +13,7 @@ $.ajax({ @@ -13,7 +13,7 @@ $.ajax({
13 url: '/cart/index/count', 13 url: '/cart/index/count',
14 success: function(data) { 14 success: function(data) {
15 if (data.code === 200) { 15 if (data.code === 200) {
16 - $cart.find('.cart-count').html(data.data.cart_good_count).removeClass('hide'); 16 + $cart.find('.cart-count').html(data.data.cart_goods_count).removeClass('hide');
17 } 17 }
18 } 18 }
19 }); 19 });
@@ -2,5 +2,5 @@ @@ -2,5 +2,5 @@
2 <a href={{cartUrl}}> 2 <a href={{cartUrl}}>
3 <span class="iconfont">&#xe62c;</span> 3 <span class="iconfont">&#xe62c;</span>
4 </a> 4 </a>
5 - <span class="cart-count hide">1</span> 5 + <span class="cart-count hide">0</span>
6 </div> 6 </div>