1
This commit is contained in:
parent
d46bb68228
commit
9eaf78f28f
@ -131,12 +131,6 @@ class RoleController{
|
|||||||
public function battleReport()
|
public function battleReport()
|
||||||
{
|
{
|
||||||
$account_id = $_REQUEST['account_id']; //账号
|
$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);
|
$conn = $this->getMysql($account_id);
|
||||||
if (!$conn) {
|
if (!$conn) {
|
||||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user