This commit is contained in:
parent
885ddbe591
commit
a7967b00cd
@ -25,6 +25,7 @@ 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);
|
$text = sprintf("姓名:%s <br>电话:<a href='tel:%s'>%s</a>", $this->model->name, $this->model->mobile, $this->model->mobile);
|
||||||
|
$text = new \Illuminate\Support\HtmlString($text);
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->subject("预约试驾线索通知")
|
->subject("预约试驾线索通知")
|
||||||
->line("收到一条新的试驾预约信息")
|
->line("收到一条新的试驾预约信息")
|
||||||
|
Loading…
Reference in New Issue
Block a user