...
|
...
|
@@ -14,6 +14,11 @@ class BoysController extends AbstractAction |
|
|
*/
|
|
|
public function indexAction()
|
|
|
{
|
|
|
if (null !== $this->get('go')) {
|
|
|
// 先检查COOKIE是否有访问过, 有则跳转到相应的频道页
|
|
|
Index\HomeModel::goSwitchChannel();
|
|
|
}
|
|
|
|
|
|
// 设置COOKIE标识用户访问过该页面了
|
|
|
Index\HomeModel::setSwitchToCookie(Index\HomeModel::COOKIE_NAME_BOYS);
|
|
|
|
...
|
...
|
@@ -51,7 +56,6 @@ class BoysController extends AbstractAction |
|
|
}
|
|
|
|
|
|
$this->echoJson($bottomBanner);
|
|
|
|
|
|
} while (false);
|
|
|
}
|
|
|
|
...
|
...
|
|