1
This commit is contained in:
parent
d9ed2ba11e
commit
e600de6b5b
@ -208,9 +208,7 @@ class BattleController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function roomReport(){
|
public function roomReport(){
|
||||||
if (myself()->_getAccountId() == '6513_2006_U1JcRueKMQxN9BDw8p7pu61gfdzsS7G3') {
|
error_log('roomReport');
|
||||||
error_log('room report');
|
|
||||||
}
|
|
||||||
$userInfo = $this->_getOrmUserInfo();
|
$userInfo = $this->_getOrmUserInfo();
|
||||||
if (!$userInfo) {
|
if (!$userInfo) {
|
||||||
$this->_rspErr(1, 'Without this player1');
|
$this->_rspErr(1, 'Without this player1');
|
||||||
@ -222,6 +220,7 @@ class BattleController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
$roomBattleDataService = new services\RoomBattleDataService();
|
$roomBattleDataService = new services\RoomBattleDataService();
|
||||||
$roomBattleDataService->mapMode = getXVal($input,'map_mode', 0);
|
$roomBattleDataService->mapMode = getXVal($input,'map_mode', 0);
|
||||||
|
error_log('roomReportMode:'.getXVal($input,'map_mode', 0));
|
||||||
$roomBattleDataService->inputData = $input;
|
$roomBattleDataService->inputData = $input;
|
||||||
$room_uuid = getXVal($input,'room_uuid', 0);
|
$room_uuid = getXVal($input,'room_uuid', 0);
|
||||||
foreach ($input["team_list"] as $teamData){
|
foreach ($input["team_list"] as $teamData){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user