1
This commit is contained in:
parent
de6dffcbfc
commit
a9a014dc8f
@ -51,7 +51,7 @@ class BaseAuthedController extends BaseController {
|
|||||||
{
|
{
|
||||||
$r = $this->_getRedis($this->_getAccountId());
|
$r = $this->_getRedis($this->_getAccountId());
|
||||||
$r->set(LAST_SESSION_KEY . $this->_getAccountId(), $sessionId);
|
$r->set(LAST_SESSION_KEY . $this->_getAccountId(), $sessionId);
|
||||||
$r->pexpire(LAST_SESSION_KEY . $this->_getAccountId(), 3600 * 24);
|
$r->pexpire(LAST_SESSION_KEY . $this->_getAccountId(), 1000 * 3600 * 24);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function _getAccountId()
|
public function _getAccountId()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user