我需要在Laravel中发送降价电子邮件,但此电子邮件的文本必须是可编辑的。当我将$body传递给相关视图时,它以如下方式显示: $body = '''
# Introduction
hi {{ $username }}
The body of your {{ $family }}.
@component('mail::button', ['url' => ''])
Button Text
@endcomponent
''' 在刀片式服务器的相关视图中: @component('
我正在实施拉拉通知。通知存储在通知表中。我试图获取数据列中的数据并在刀片中显示,但失败了。
这是我的控制器
public function notification_list(){
$notifications = auth()->user()->notifications()->orderBy('created_at','desc')->get();
return view('users.notification.index')->with('notifications',$not