This commit is contained in:
aozhiwei 2022-05-31 21:08:10 +08:00
parent 9c4afa1507
commit af9115c0f4

View File

@ -33,6 +33,9 @@ class BaseAuthedController extends BaseController {
die();
}
if (!(getReqVal('c', '') == 'User' && getReqVal('a', '') == 'login')) {
if ((getReqVal('c', '') == 'Battle')) {
return;
}
$r = $this->_getRedis($this->_getAccountId());
$sessionId = $r->get(LAST_SESSION_KEY . $this->_getAccountId());
if (empty($sessionId)) {