This commit is contained in:
aozhiwei 2022-05-31 11:36:29 +08:00
parent de6dffcbfc
commit a9a014dc8f

View File

@ -51,7 +51,7 @@ class BaseAuthedController extends BaseController {
{
$r = $this->_getRedis($this->_getAccountId());
$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()