Laravel 7-添加验证电子邮件的附加链接

Laravel 7-添加验证电子邮件的附加链接,laravel,laravel-7,Laravel,Laravel 7,是否有一些方法可以使用默认的Laravel类为验证电子邮件创建其他链接 public function toMail($notifiable) { if (static::$toMailCallback) { return call_user_func(static::$toMailCallback, $notifiable); } return (new MailMessage) ->

是否有一些方法可以使用默认的Laravel类为验证电子邮件创建其他链接

public function toMail($notifiable)
    {
        if (static::$toMailCallback) {
            return call_user_func(static::$toMailCallback, $notifiable);
        }
        return (new MailMessage)
            ->subject('Verify email address')
            ->line('Please click the button below to confirm your email address.')
            ->action(
                'Confirm Email Address',
                $this->verificationUrl($notifiable)
            )
            ->line('Important')
            ->line('Once you have confirmed your email address, please return and complete your profile information by filling out all required fields in your profile. ')
            ->line('Once all the fields turn green in the verification centre, it means you have filled out the required elements of your profile. Please wait for 48 hours for your account to be verified via email or phone call.');
    }

我试图复制动作方法,但什么也没发生。

这能回答你的问题吗?