From 9af97bd4bee46ea52902108c9e1f355cfc5763bb Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Fri, 27 Jun 2025 20:06:50 +0800 Subject: [PATCH] no message --- app/Http/Controllers/CronController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/CronController.php b/app/Http/Controllers/CronController.php index 017efe6..09944dc 100755 --- a/app/Http/Controllers/CronController.php +++ b/app/Http/Controllers/CronController.php @@ -58,7 +58,7 @@ class CronController // inday_count规则 $iRand = rand(1, 1440); // $iRand = 1; - $oIndayArticle = Article::where("inday_count", ">=", $iRand)->where("status", 1)->get(); // inday24 >= rand10 + $oIndayArticle = Article::where("inday_count", ">=", $iRand)->where("status", 1)->get()->toArray(); // inday24 >= rand10 if (!empty($oIndayArticle)) { $this->run($oIndayArticle); }