From 00a37a4c3ce52b19aa4f97f762bba798b30210b4 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Fri, 31 May 2024 11:51:24 +0800 Subject: [PATCH] 1 --- webapp/controller/BattleController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index af3b64b8..27b9ec51 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -136,7 +136,7 @@ class BattleController extends BaseAuthedController { } $data = json_decode(file_get_contents('php://input'), true); error_log(json_encode($data)); - foreach ($data as $teamData){ + foreach ($data['team_list'] as $teamData){ $this->_handleTeamReport($teamData); }