diff --git a/webapp/controller/RechargeController.class.php b/webapp/controller/RechargeController.class.php index 2396347..0b9975c 100644 --- a/webapp/controller/RechargeController.class.php +++ b/webapp/controller/RechargeController.class.php @@ -145,6 +145,10 @@ class RechargeController $goodsid = 0; if ($shopgoods_conf) { for ($i = 1; $i <= count($shopgoods_conf); $i++) { + if ($shopgoods_conf[$i]['type'] != 1) { + continue; + } + if ($diamonds < $shopgoods_conf[$i]['item_num']) { continue; }