diff --git a/app/Console/Commands/SendRemindMail.php b/app/Console/Commands/SendRemindMail.php index 4449deb4..1821d796 100644 --- a/app/Console/Commands/SendRemindMail.php +++ b/app/Console/Commands/SendRemindMail.php @@ -66,7 +66,7 @@ class SendRemindMail extends Command { if ($this->remindTrafficIsWarnValue(($user->u + $user->d), $user->transfer_enable)) { $sendCount = MailLog::where('created_at', '>=', strtotime(date('Y-m-1'))) - ->where('template_name', 'mail.sendRemindTraffic') + ->where('template_name', 'like', '%remindTraffic%') ->count(); if ($sendCount > 0) return; SendEmailJob::dispatch([