diff --git a/src/Services/Cron.php b/src/Services/Cron.php index 1646cbde1..c969cb3e2 100755 --- a/src/Services/Cron.php +++ b/src/Services/Cron.php @@ -958,7 +958,7 @@ final class Cron $oUser->isPayClass = $oUser->class >= $iPayClass ? true : false; - if ($oUser->class_expire < time()) { // 时间到期 + if (strtotime($oUser->class_expire) < time()) { // 时间到期 self::_class_expire($oUser); DB::commit(); continue;