...
This commit is contained in:
parent
ee2abf16e3
commit
33b9c34729
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user