diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index 2a856d38..775e1307 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -892,6 +892,12 @@ class BagController extends BaseAuthedController { $this->_rspErr(201, "alreay use"); return ; } + $this->_decItems(array( + array( + 'item_id' => $itemMeta['id'], + 'item_num' => 1 + ) + )); LuckySymbol::add(); myself()->_rspOk(); }