This commit is contained in:
hujiabin 2023-04-03 20:14:24 +08:00
commit 26e422ccf2
2 changed files with 10 additions and 0 deletions

View File

@ -58,6 +58,15 @@ class BaseAuthedController extends BaseController {
public function _handlePre()
{
// if (SERVER_ENV == _ONLINE) {
// 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', '');
if (!phpcommon\isValidSessionId($this->accountId,

View File

@ -163,6 +163,7 @@ class UserController extends BaseAuthedController {
$this->_addItems($addItems, $awardService, $propertyChgService);
}
private function loginCheck($userInfo)
{
$seasonService = new services\SeasonService();