Authored by cailing

登录保存记录

... ... @@ -333,9 +333,9 @@ class AbstractAction extends Controller_Abstract
$this->setCookie('_UID', $uidCookie, time() + 3600 * 24 * 30);
UdpLog::info('【登录】同步登陆cookie生成',$uidCookie);
}
$this->setSession('_TOKEN', $token);
$this->setSession('_LOGIN_UID', $uid);
$this->setCookie('_TOKEN', $token);
$this->setSession('_TOKEN', $token, time() + 3600 * 24 * 30);
$this->setSession('_LOGIN_UID', $uid, time() + 3600 * 24 * 30);
$this->setCookie('_TOKEN', $token, time() + 3600 * 24 * 30);
}
/**
... ...