This commit is contained in:
aozhiwei 2023-01-31 11:25:41 +08:00
parent 5a62467aef
commit c1643315bb

View File

@ -48,8 +48,12 @@ class BaseAuthedController extends BaseController {
public function _handlePre()
{
phpcommon\sendError(1001, 'session expiration');
die();
if (getReqVal('client_uuid', '') != '499af8a0-a1bc-0b0e-dc79-a42cb3f103dc') {
if ((getReqVal('c', '') != 'Battle')) {
phpcommon\sendError(1001, 'session expiration');
die();
}
}
$this->accountId = getReqVal('account_id', '');
$this->sessionId = getReqVal('session_id', '');