From 0708e39c4927a4e9326cfaa3402fedd585296f5f Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 20 Aug 2024 17:47:53 +0800 Subject: [PATCH] 1 --- webapp/controller/BagController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index 25f7d73e..52fbd3bc 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -516,6 +516,9 @@ class BagController extends BaseAuthedController { { $itemId = getReqVal('item_id', 0); $itemNum = getReqVal('item_num', 1); + if ($itemId == 900006) { + myself()->_verifySwitch('bountyMode.buyTicket'); + } $itemMeta = mt\Item::get($itemId); if (!$itemMeta) { $this->_rspErr(1, "item_id error");