芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/app/Events/Merchant/NotificationEvent.php
notification = $notification_content; $this->user = $user; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return ["merchant-notification-".$this->user->id]; } public function broadcastAs() { return "merchant-dashboard-notification-push"; } }