修改邮件部分

This commit is contained in:
yinjianm
2026-02-22 03:22:14 +08:00
parent 7a3e245887
commit 17a7c63aec
8 changed files with 206 additions and 71 deletions
@@ -44,14 +44,14 @@ class CommController extends Controller
return $this->fail([400, __('Email verification code has been sent, please request again later')]);
}
$code = rand(100000, 999999);
$subject = admin_setting('app_name', 'XBoard') . __('Email verification code');
$subject = admin_setting('app_name', 'Notification Service') . __('Email verification code');
SendEmailJob::dispatch([
'email' => $email,
'subject' => $subject,
'template_name' => 'verify',
'template_value' => [
'name' => admin_setting('app_name', 'XBoard'),
'name' => admin_setting('app_name', 'Notification Service'),
'code' => $code,
'url' => admin_setting('app_url')
]