From 33b9c347294b69a8cc7fb241c7f12ed041b9c8fa Mon Sep 17 00:00:00 2001 From: songliang Date: Fri, 14 Jul 2023 17:13:34 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 59aab626..67f73055 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -351,6 +351,7 @@ class ShopController extends BaseAuthedController // 以下是看商品表中是否配置了充值额外奖励 $goods = mt\ShopGoods::get($id); + error_log("buyGoodsDirect---" . json_encode($goods)); $goods_num = $order['goods_num']; $bundle_size = $goods['bonus_num'] ? $goods['bonus_num'] : 0; $item_num = $goods_num * $bundle_size;