From a9a014dc8fb70d16ce9a2066bda363fa89753ca9 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 31 May 2022 11:36:29 +0800 Subject: [PATCH] 1 --- webapp/controller/BaseAuthedController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index 7a74c7aa..3547f095 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -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()