1
私のコードは次のようである:メール通知システムでベースURLを使用するには? (Laravel 5.3)
public function toMail($notifiable)
{
return (new MailMessage)
->subject('Test')
->greeting('Hello '.$notifiable->store->name.'!')
->line('Test 1')
->line('Test 2')
->action('Check Order',url('member/store/sale'))
->line('Thanks');
}
私がアクションをクリックすると、それはhttp://localhost/member/store/sale
を呼び出します。それはどのように
が、それはhttp://myshop.dev/member/store/sale
を呼び出す必要が間違っています私はそれを解決する?