fix
This commit is contained in:
parent
42e13c9a24
commit
4cbf851340
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user