diff --git a/application/index/controller/Cart.php b/application/index/controller/Cart.php index 9d746c71a7f36693bc361aee75a52ac09b9b3dbb..fcdd954cf205db96c3748350bcdc68317648fbde 100755 --- a/application/index/controller/Cart.php +++ b/application/index/controller/Cart.php @@ -53,7 +53,6 @@ class Cart extends Common $base = [ 'total_price' => empty($cart_list['data']) ? 0 : array_sum(array_column($cart_list['data'], 'total_price')), 'buy_count' => empty($cart_list['data']) ? 0 : array_sum(array_column($cart_list['data'], 'stock')), - 'ids' => empty($cart_list['data']) ? '' : implode(',', array_column($cart_list['data'], 'id')), ]; $this->assign('base', $base); diff --git a/application/index/view/default/cart/index.html b/application/index/view/default/cart/index.html index 1039e959beb3c5cbee3c31e47a9771922de80ce8..8004cf3327332c7b6b6ecfe598e54539e7c692aa 100755 --- a/application/index/view/default/cart/index.html +++ b/application/index/view/default/cart/index.html @@ -67,7 +67,7 @@
{{$price_symbol}}{{$goods.price}}