From 64ddf5a6144d76c1edf1a6a5df8b741820e4040d Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 18 Nov 2022 11:21:58 +0800 Subject: [PATCH] 1 --- webapp/controller/BattleController.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index 582c1e24..f103b99f 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -37,6 +37,11 @@ class BattleController extends BaseAuthedController { ], ] } + + $channelId = phpcommon\extractChannel($account_id); + if ($chnanelId == SELFSDK_CHANNEL) { + //则是机器人 + } */ public function battleReport()