Authored by 郝肖肖

发票 秒杀URl

... ... @@ -481,6 +481,12 @@ class IndexController extends AbstractAction
$this->setTitle('发票信息');
$this->setNavHeader('发票信息', true, false); // 不显示右上角home按钮
$moreUrl = $this->server('HTTP_REFERER', '/cart/index/orderEnsure');//取跳过来的url
//购物车订单进来,秒杀进来
if (strrpos($moreUrl, '/cart/index/orderEnsure') !== false || strrpos($moreUrl, '/cart/seckill') !== false) {
$this->setSession('addressMore', $moreUrl);
}
$data['addressMore'] = $this->getSession('addressMore');
$this->_view->display('invoice-info', $data);
... ... @@ -574,7 +580,7 @@ class IndexController extends AbstractAction
$this->setSession('addressMore', $moreUrl);
}
$moreUrl = $this->getSession('addressMore', '/cart/index/orderEnsure');
$moreUrl = $this->getSession('addressMore');
$this->setNavHeader('选择地址', $moreUrl, false);
$this->_view->display('select-address', array(
... ...