问答 / 1326 / 2 / 创建于 6年前
观察器没有自动注册,需要手动注册
需要自己在 AppServiceProvider 中的 boot 方法手动注册观察器。
AppServiceProvider
可以直接在model的 boot方法中实现
我要举报该,理由是:
推荐文章: