|
@@ -447,6 +447,7 @@ class minutesControl extends BaseCronControl
|
|
|
} catch (Exception $ex) {
|
|
|
Log::record($ex->getMessage(), Log::ERR);
|
|
|
}
|
|
|
+
|
|
|
sleep(1);
|
|
|
}
|
|
|
}
|
|
@@ -454,14 +455,14 @@ class minutesControl extends BaseCronControl
|
|
|
private function stat_util()
|
|
|
{
|
|
|
//查找最早的充值中的单子
|
|
|
- $update_earlist_sendtime = function () {
|
|
|
+ $update_earliest_ordertime = function () {
|
|
|
$mod = Model('refill_detail');
|
|
|
$time = $mod->getLatestSendTime();
|
|
|
- wcache('earlist_sending', ['order_time' => $time], 'refill-stat-');
|
|
|
- Log::record("earlist_sending={$time}",Log::DEBUG);
|
|
|
+ wcache('earliest_sending', ['order_time' => $time], 'refill-stat-');
|
|
|
+ Log::record("earliest_sending order_time={$time}",Log::DEBUG);
|
|
|
};
|
|
|
|
|
|
- $update_earlist_sendtime();
|
|
|
+ $update_earliest_ordertime();
|
|
|
}
|
|
|
|
|
|
/**
|