You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yxbd-fangke/app/Mail/VisitReservationSubmittedTo...

33 lines
826 B

1 week ago
<?php
namespace App\Mail;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
/**
1 week ago
* 访客提交预约时通知被访人(拜访时间、拜访人与短信 varsdate、name 对应).
1 week ago
*/
class VisitReservationSubmittedToHost extends Mailable
{
use SerializesModels;
1 week ago
/** @var string 拜访时间,对应短信 vars.date */
1 week ago
public $visitDate;
1 week ago
/** @var string 拜访人(访客姓名),对应短信 vars.name */
1 week ago
public $visitorName;
1 week ago
public function __construct(string $visitDate, string $visitorName)
1 week ago
{
$this->visitDate = $visitDate;
$this->visitorName = $visitorName;
}
public function build()
{
1 week ago
return $this->subject('【碧迪医疗】访客审核提醒')
1 week ago
->view('mail.visit-reservation-submitted-to-host');
}
}