From 332d8d6e09f2ec9d55df2d9f587b65fc39256b56 Mon Sep 17 00:00:00 2001 From: songliang Date: Tue, 25 Jul 2023 15:43:13 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 3 +++ 1 file changed, 3 insertions(+) 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));