From 59637c1dbf8f24f0db7f5a88eda577df22ee4735 Mon Sep 17 00:00:00 2001 From: yangduo Date: Wed, 15 Jan 2025 17:47:45 +0800 Subject: [PATCH] adjust --- webapp/controller/RechargeController.class.php | 4 ++++ 1 file changed, 4 insertions(+) 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; }