diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index f227cdcf..ad84e0df 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -1266,6 +1266,9 @@ class ShopController extends BaseAuthedController $costItemId = $this->getCostItemIdByTokenType($token_type); $costItems = $this->makeCostItems($costItemId, $count * $need_price); + + error_log("buyGoodsDS costItems " . json_encode($costItems)); + $lackItem = null; if (!$this->_hasEnoughItems($costItems, $lackItem)) { $this->_rspErr(2, $this->_getLackItemErrMsg($lackItem));