From 9eaf78f28f5e48f196b1eed788b7d0aac51ad328 Mon Sep 17 00:00:00 2001 From: wangwei01 Date: Fri, 31 May 2019 11:12:20 +0800 Subject: [PATCH] 1 --- webapp/controller/RoleController.class.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/webapp/controller/RoleController.class.php b/webapp/controller/RoleController.class.php index aa10a7e..3e0d3c3 100644 --- a/webapp/controller/RoleController.class.php +++ b/webapp/controller/RoleController.class.php @@ -131,12 +131,6 @@ class RoleController{ public function battleReport() { $account_id = $_REQUEST['account_id']; //账号 - //登录校验 - $login = loginVerify($account_id, $_REQUEST['session_id']); - if (!$login) { - phpcommon\sendError(ERR_USER_BASE + 1, 'session无效'); - return; - } $conn = $this->getMysql($account_id); if (!$conn) { phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');