This commit is contained in:
parent
6ef3007852
commit
885ddbe591
@ -24,10 +24,11 @@ public function via(object $notifiable): array
|
|||||||
|
|
||||||
public function toMail(object $notifiable): MailMessage
|
public function toMail(object $notifiable): MailMessage
|
||||||
{
|
{
|
||||||
|
$text = sprintf("姓名:%s <br>电话:<a href='tel:%s'>%s</a>", $this->model->name, $this->model->mobile, $this->model->mobile);
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->subject("预约试驾线索通知")
|
->subject("预约试驾线索通知")
|
||||||
->line("收到了一条新的试驾预约信息,请及时处理")
|
->line("收到一条新的试驾预约信息")
|
||||||
->line("姓名:" . $this->model->name . " \n电话:" . $this->model->mobile)
|
->line($text)
|
||||||
->line("=====")
|
->line("=====")
|
||||||
->line("祝,工作愉快!");
|
->line("祝,工作愉快!");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user