From c84f3c0216e1551c89ae438edcddf8a865562ee9 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Mon, 8 Jul 2024 16:25:32 +0800 Subject: [PATCH] 1 --- webapp/controller/InGameMallController.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/controller/InGameMallController.class.php b/webapp/controller/InGameMallController.class.php index bc1453e9..7f75380f 100644 --- a/webapp/controller/InGameMallController.class.php +++ b/webapp/controller/InGameMallController.class.php @@ -737,7 +737,7 @@ EOD; private function _isGoodsType($type){ if (in_array($type,array( - \mt\Item::HERO_TYPE, +// \mt\Item::HERO_TYPE, \mt\Item::CHIP_TYPE, \mt\Item::FRAGMENT_TYPE, \mt\Item::BATTLE_REWARD_BOX, @@ -754,9 +754,9 @@ EOD; return ; } switch ($itemMeta['type']){ - case \mt\Item::HERO_TYPE : { - return InGameMall::HERO_TYPE; - } +// case \mt\Item::HERO_TYPE : { +// return InGameMall::HERO_TYPE; +// } case \mt\Item::CHIP_TYPE : { return InGameMall::CHIP_TYPE; }