...
|
...
|
@@ -28,11 +28,11 @@ class HomeController extends AbstractAction |
|
|
// @todo 为了方便测试,支持传uid参数
|
|
|
$uid = $this->getUid();
|
|
|
if (!$uid) {
|
|
|
$this->_uid = $this->get('uid', 8826435); //$this->getUid(true);
|
|
|
// $this->_uid = $this->get('uid', 8826435); //$this->getUid(true);
|
|
|
}
|
|
|
|
|
|
$action = $this->getRequest()->getActionName();
|
|
|
if (!$this->_uid && $action !== 'index') {
|
|
|
if (!$this->_uid && $action !== 'index' && $this->isAjax()) {
|
|
|
$this->go(Helpers::url('/signin.html'));
|
|
|
}
|
|
|
|
...
|
...
|
|