fix
This commit is contained in:
parent
109f7478d6
commit
6456272eb7
@ -372,8 +372,8 @@ class RechargeController
|
|||||||
':modify_time' => time(),
|
':modify_time' => time(),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
if(!$ret) {
|
if (!$ret) {
|
||||||
phpcommon\sendError(ERR_INTERNAL + 1, '系统繁忙');
|
phpcommon\sendError(ERR_INTERNAL + 1, '系统繁忙');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -863,11 +863,15 @@ class RechargeController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$daily = array();
|
||||||
foreach ($dailypurchase as $key => $val) {
|
foreach ($dailypurchase as $key => $val) {
|
||||||
if ($val['time'] < $daysecs) {
|
if ($val['time'] < $daysecs) {
|
||||||
unset($dailypurchase[$key]);
|
unset($dailypurchase[$key]);
|
||||||
|
} else {
|
||||||
|
array_push($daily, $val);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$dailypurchase = $daily;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user