class TopicReplied 类中 public function toDatabase ($notifiable) 这个参数并没有用到呀?
public function toDatabase($notifiable)
{
$topic = $this->reply->topic;
$link = $topic->link(['#reply' . $this->reply->id]);
这个$notifiable 是不是可以不写?
推荐文章: