This commit is contained in:
aozhiwei 2024-06-27 21:24:51 +08:00
parent 084c56a50f
commit 9671a61005

View File

@ -96,6 +96,11 @@ class BaseAuthedController extends BaseController {
die();
}
}
if (!(myself()->_getChannel() == IMTBL_CHANNEL ||
myself()->_getChannel() == GUEST_CHANNEL)) {
phpcommon\sendError(1001, 'session expiration');
die();
}
$r = $this->_getRedis($this->_getAccountId());
if (!(getReqVal('c', '') == 'User' && getReqVal('a', '') == 'login')) {
if ((getReqVal('c', '') == 'Battle')) {