...
|
...
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
use Action\AbstractAction;
|
|
|
use Index\CartModel;
|
|
|
use Index\UserModel;
|
|
|
use Plugin\Helpers;
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -216,7 +217,23 @@ 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内容
|
|
|
*/
|
...
|
...
|
|