...
|
...
|
@@ -330,7 +330,7 @@ class AbstractAction extends Controller_Abstract |
|
|
$token = Helpers::makeToken($uid);
|
|
|
if (isset($userInfo['data']) && $userInfo['data']) {
|
|
|
$uidCookie = $userInfo['data']['profile_name'] . '::' . $userInfo['data']['uid'] . '::' . $userInfo['data']['vip_info']['title'] . '::' . $token;
|
|
|
$this->setCookie('_UID', $uidCookie);
|
|
|
$this->setCookie('_UID', $uidCookie, time() + 3600 * 24 * 30);
|
|
|
UdpLog::info('【登录】同步登陆cookie生成',$uidCookie);
|
|
|
}
|
|
|
$this->setSession('_TOKEN', $token);
|
...
|
...
|
|