This commit is contained in:
aozhiwei 2022-05-31 22:43:35 +08:00
commit b9c133041d

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)) {