From c2e04dce011f792bab54d6431ee5f2616216e10e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 1 Apr 2022 08:34:20 +0800 Subject: [PATCH] 1 --- webapp/controller/BattleController.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index f2235ede..2cdd1c8c 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -35,4 +35,12 @@ class BattleController extends BaseAuthedController { $this->_rspOk(); } + public function getBattleData() + { + error_log(json_encode($_REQUEST)); + myself()->_rspData(array( + 'hero_id' => 1245678 + )); + } + }