mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
76ce89c17f
commit
2be5b8e357
@ -24,12 +24,12 @@ class MailController extends Controller
|
|||||||
foreach ($users as $user) {
|
foreach ($users as $user) {
|
||||||
SendEmail::dispatch([
|
SendEmail::dispatch([
|
||||||
'email' => $user->email,
|
'email' => $user->email,
|
||||||
'subject' => $subject,
|
'subject' => $request->input('subject'),
|
||||||
'template_name' => 'mail.sendCustom',
|
'template_name' => 'mail.sendCustom',
|
||||||
'template_value' => [
|
'template_value' => [
|
||||||
'name' => config('v2board.app_name', 'V2Board'),
|
'name' => config('v2board.app_name', 'V2Board'),
|
||||||
'url' => config('v2board.app_url'),
|
'url' => config('v2board.app_url'),
|
||||||
'content' => $content
|
'content' => $request->input('content')
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user