no message
This commit is contained in:
parent
287005cab8
commit
912098c0b6
@ -570,12 +570,11 @@ final class Cron
|
||||
//// * 是用户流量满时,主动标记订单过期
|
||||
// 按理说可以有多个已激活,但是以防万一,标记掉
|
||||
// 假如等级还过期了,就是标记两次,无所谓
|
||||
if ($ud >= $user->transfer_enable) {
|
||||
if ($ud >= $user->transfer_enable && $activated_order !== null) {
|
||||
$activated_order->status = 'expired';
|
||||
$activated_order->update_time = time();
|
||||
$activated_order->save();
|
||||
echo "TABP订单 #{$activated_order->id} 已过期(流量满了)。\n";
|
||||
// tomd($activated_order->status);
|
||||
}
|
||||
//// end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user