no message
This commit is contained in:
parent
c61e476688
commit
f0658c800a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user