...
|
...
|
@@ -149,7 +149,7 @@ class IndexController extends AbstractAction |
|
|
$shoppingKey = Helpers::getShoppingKeyByCookie();
|
|
|
$uid = $this->getUid(true);
|
|
|
$cartType = $this->get('cartType', 'ordinary');
|
|
|
$data = array('giftPage' => true);
|
|
|
$data = array('giftPage' => true, 'cartType' => $cartType);
|
|
|
$data += CartModel::getCartData($uid, $shoppingKey, $cartType, true);
|
|
|
|
|
|
// 渲染模板
|
...
|
...
|
@@ -167,7 +167,7 @@ class IndexController extends AbstractAction |
|
|
$shoppingKey = Helpers::getShoppingKeyByCookie();
|
|
|
$uid = $this->getUid(true);
|
|
|
$cartType = $this->get('cartType', 'ordinary');
|
|
|
$data = array('advanceBuyPage' => true);
|
|
|
$data = array('advanceBuyPage' => true, 'cartType' => $cartType);
|
|
|
$data += CartModel::getCartData($uid, $shoppingKey, $cartType, false, true);
|
|
|
|
|
|
// 渲染模板
|
...
|
...
|
|