如何将电子邮件与令牌一起附加?
public function toMail($notifiable)
{
if (static::$toMailCallback) {
return call_user_func(static::$toMailCallback, $notifiable, $this->token);
}
return (new MailMessage)
->action(Lang::getFromJson('Reset Password'),
url(config('http://mywebsite.local/') .
route('password.reset', $this->token, false)));
}
`