...
|
...
|
@@ -570,11 +570,11 @@ class IndexController extends AbstractAction |
|
|
$moreUrl = $this->server('HTTP_REFERER', '/cart/index/orderEnsure');//取跳过来的url
|
|
|
//购物车订单进来,秒杀进来
|
|
|
if (strrpos($moreUrl, '/cart/index/orderEnsure') !== false || strrpos($moreUrl, '/cart/seckill') !== false) {
|
|
|
$this->setCookie('addressMore', $moreUrl);
|
|
|
$this->setSession('addressMore', $moreUrl);
|
|
|
$_COOKIE['addressMore'] = $moreUrl;//第一次设置无效
|
|
|
}
|
|
|
|
|
|
$moreUrl = $this->getCookie('addressMore', '/cart/index/orderEnsure');
|
|
|
$moreUrl = $this->getSession('addressMore', '/cart/index/orderEnsure');
|
|
|
$this->setNavHeader('选择地址', $moreUrl, false);
|
|
|
|
|
|
$this->_view->display('select-address', array(
|
...
|
...
|
|