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;