This commit is contained in:
wangwei01 2019-05-31 11:12:20 +08:00
parent d46bb68228
commit 9eaf78f28f

View File

@ -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, '没有这个玩家');