...
|
...
|
@@ -143,11 +143,11 @@ class IndexController extends AbstractAction |
|
|
$shoppingKey = Helpers::getShoppingKeyByCookie();
|
|
|
$uid = $this->getUid(true);
|
|
|
$cartType = $this->get('cartType', 'ordinary');
|
|
|
$data = array('shoppingCartPage' => true);
|
|
|
$data = array('giftPage' => true);
|
|
|
$data += CartModel::getCartData($uid, $shoppingKey, $cartType, true);
|
|
|
|
|
|
// 渲染模板
|
|
|
$this->_view->display('gift-advance-good', $data);
|
|
|
$this->_view->display('gift-advance', $data);
|
|
|
}
|
|
|
|
|
|
/*
|
...
|
...
|
@@ -161,12 +161,11 @@ class IndexController extends AbstractAction |
|
|
$shoppingKey = Helpers::getShoppingKeyByCookie();
|
|
|
$uid = $this->getUid(true);
|
|
|
$cartType = $this->get('cartType', 'ordinary');
|
|
|
$data = array('shoppingCartPage' => true);
|
|
|
$data = array('advanceBuyPage' => true);
|
|
|
$data += CartModel::getCartData($uid, $shoppingKey, $cartType, false, true);
|
|
|
|
|
|
// 渲染模板
|
|
|
var_dump($data);
|
|
|
$this->_view->display('gift-advance-good', $data);
|
|
|
$this->_view->display('gift-advance', $data);
|
|
|
}
|
|
|
|
|
|
/*
|
...
|
...
|
|