...
|
...
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
use Action\AbstractAction;
|
|
|
use Index\CartModel;
|
|
|
use Index\UserModel;
|
|
|
use Plugin\Helpers;
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -217,6 +218,22 @@ class ShoppingCartController extends AbstractAction |
|
|
$this->_view->display('order-ensure', $data);
|
|
|
}
|
|
|
|
|
|
public function selectAddressAction() {
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('选择地址');
|
|
|
$this->setNavHeader('选择地址', Helpers::url('/shoppingCart/orderEnsure'));
|
|
|
|
|
|
$uid = $this->_uid;
|
|
|
$address = UserModel::getAddressData($uid);
|
|
|
|
|
|
$this->_view->display('select-address', array(
|
|
|
'selectAddressPage' => true,
|
|
|
'pageFooter' => true,
|
|
|
'address' => $address
|
|
|
));
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 读取chose-panel内容
|
|
|
*/
|
...
|
...
|
|