Authored by 郭成尧

'逛列表页收藏'

... ... @@ -144,7 +144,7 @@ class IndexController extends AbstractAction
default: // 所有
$gender = '1,2,3';
}
$uid = $this->get('uid');
$uid = $this->getUid(false);
$udid = $this->get('udid');
if ($uid) {
$this->setSession('uid', $uid);
... ...
... ... @@ -67,7 +67,7 @@ class OptController extends AbstractAction
}
/* 判断用户是否登录 */
$uid = $this->getSession('uid');
$uid = $this->getUid(false);
if (empty($uid) || !is_numeric($uid)) {
break;
}
... ...