From 03b5f56cccad2413213972294a7e36ca69f00f67 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 21 Nov 2022 12:13:00 +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 bd2d1f71..8f5b5ea4 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -158,7 +158,7 @@ class BattleController extends BaseAuthedController { public function reportSettlement() { $battleUuid = getReqVal('battle_uuid', ''); - $data = json_decode(file_get_contents('php://input'), true); + $data = file_get_contents('php://input'); BattleSettlement::add($battleUuid, $data); myself()->_rspOk(); }