diff --git a/src/Services/Cron.php b/src/Services/Cron.php index a3af82fd5..3c569acb8 100755 --- a/src/Services/Cron.php +++ b/src/Services/Cron.php @@ -955,6 +955,8 @@ final class Cron continue; } + DB::commit(); + } catch (\Exception $e) { DB::rollBack(); @@ -1210,7 +1212,7 @@ final class Cron tomd($oPlanExpireQueue->user_id); $oUser = User::where("id", $oPlanExpireQueue->user_id)->first(); - tomd($oUser->toArray(), 1); +// tomd($oUser->toArray(), 1); $oUser->class = $iToClass; $oUser->class_expire = $iToExpire; $oUser->transfer_enable = $iToEnable;