This commit is contained in:
yangduo 2025-01-14 15:56:54 +08:00
parent 6833673bd2
commit 72e5894447

View File

@ -314,6 +314,10 @@ class RechargeController
$todaysecs = phpcommon\getdayseconds(time());
$daily_obj = json_decode($daily_purchase . true);
if (!$daily_obj) {
return true;
}
if ($productid == 10) {
foreach ($daily_obj as $item) {
if ($item['time'] > $todaysecs) {
@ -455,7 +459,10 @@ class RechargeController
)
);
} else {
$vip_info = array();
if ($rechargerow['vip_info'] != NULL) {
$vip_info = json_decode($rechargerow['vip_info'], true);
}
$found = false;
foreach ($vip_info as $key => $carditem) {
if ($carditem['id'] == $_REQUEST['goodsid']) {