Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的页面上有一个表单标签,它导致了一个功能。如果我dd()在该函数中执行 a ,则内容返回,这意味着它指向该函数。在我调用的函数$this->resendMail()中,它应该重新发送邮件。
dd()
$this->resendMail()
在该函数中,我dd()对应该发送的邮件内容进行了操作,并且一切都正确返回。所有的笔记都被创建了,但邮件实际上并没有发出。
当我将该代码复制到我的第一个函数中时,邮件完美发送。
会不会是调用另一个函数来发送邮件?