From 0bd9b9982bf918c4ad1d62452ec3bf68ef5e3e5b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 22 Aug 2024 09:51:57 +0800 Subject: [PATCH] 1 --- webapp/controller/BattleController.class.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index 8c9bb23d..287f7969 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -678,11 +678,11 @@ class BattleController extends BaseAuthedController { $sign = ''; $zoneId = 1; $nodeId = 1; - $modeId = 1; - $mapId = 1; - $roomUuid = ''; - $startTime = myself()->_getNowTime(); - $currSession = null; + $modeId = 5; + $mapId = 2008; + $roomUuid = $customData['room_uuid']; + $startTime = $customData['start_time']; + $currSeason = null; $data = array( 'sign' => $sign, 'zone_id' => $zoneId, @@ -758,6 +758,7 @@ class BattleController extends BaseAuthedController { } array_push($data['team_list'], $teamInfo); } + error_log(json_encode($data)); myself()->_rspData($data); }