This commit is contained in:
yangduo 2025-01-14 16:37:28 +08:00
parent 42e13c9a24
commit 4cbf851340

View File

@ -813,7 +813,7 @@ class RechargeController
$nowTime = time(); $nowTime = time();
foreach ($vipinfo as $key => $val) { foreach ($vipinfo as $key => $val) {
if ($val['id'] == $_REQUEST['id']) { if ($val['id'] == $_REQUEST['id']) {
if ($val['expire'] < $nowTime) { if ($val['expire'] > 0 && $val['expire'] < $nowTime) {
phpcommon\sendError(ERR_USER_BASE + 1, '月卡过期'); phpcommon\sendError(ERR_USER_BASE + 1, '月卡过期');
return; return;
} }