...
|
...
|
@@ -30,7 +30,7 @@ class HomeController extends AbstractAction |
|
|
{
|
|
|
$uid = $this->getUid($useSession);
|
|
|
if (!$uid) {
|
|
|
$this->go(Helpers::url('/signin.html', array('refer' => $this->server('HTTP_REFERER', '/'))));
|
|
|
$this->go(Helpers::url('/signin.html', array('refer' => $this->server('HTTP_REFERER', SITE_MAIN))));
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -785,7 +785,7 @@ class HomeController extends AbstractAction |
|
|
if (empty($orderCode)) {
|
|
|
$this->error();
|
|
|
}
|
|
|
|
|
|
|
|
|
$this->_view->display('pay', array(
|
|
|
'payAppInfo' => array(
|
|
|
0 => array(
|
...
|
...
|
@@ -806,6 +806,7 @@ class HomeController extends AbstractAction |
|
|
),
|
|
|
),
|
|
|
'orderCode' => $orderCode,
|
|
|
'hasWxShare' => strpos($this->_request->server('HTTP_USER_AGENT', ''), 'MicroMessenger') !== false
|
|
|
));
|
|
|
}
|
|
|
|
...
|
...
|
|