From f0658c800ab25ee00bf133abd8fbb2c6a0afc2e6 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Mon, 31 Mar 2025 22:25:05 +0800 Subject: [PATCH] no message --- src/Services/Cron.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Services/Cron.php b/src/Services/Cron.php index cf122b0e..3950b400 100755 --- a/src/Services/Cron.php +++ b/src/Services/Cron.php @@ -24,6 +24,7 @@ use App\Models\CountVisitor; use App\Models\CountUser; use App\Services\TomTool\TgSendFormat; use App\Services\IM\Telegram; +use App\Services\Tg\ReportUser; use App\Utils\Tools; use DateTime; use Exception; @@ -151,7 +152,6 @@ final class Cron $aAllMix = array_merge($aVisitorMix, $aRegMix, $aUserMix); - foreach ($aAllMix as $k => $v) { $oCountUserModel = new CountUser(); @@ -169,11 +169,11 @@ final class Cron } - - var_dump($aUserMix); - exit; - Visitor::truncate(); + + $sMsg = (new ReportUser())->ByDay(1); + + (new Telegram())->send(0, $sMsg); } // public static function visitorCount(): void