This commit is contained in:
yangduo 2025-01-16 16:52:51 +08:00
parent b573e2e67b
commit d2bdabdb13

View File

@ -48,7 +48,7 @@ class Privilege
$plus = 0;
if ($row) {
$nowtime = time();
$vip_info = json_decode($row['vip_info']);
$vip_info = json_decode($row['vip_info'], true);
foreach ($vip_info as $key => $carditem) {
if ($vip_info[$key]['expire'] == 0 || $vip_info[$key]['expire'] > $nowtime) {
$privilegecard_conf = metatable\getPrivilegeCardById($key);