Open tx19980520 opened 5 years ago
不了解laravel 不过我有做过yii2的,可以在model的after save里联动
发自我的 iPhone6艹
在 2018年10月27日,上午11:11,ty0207 notifications@github.com 写道:
目前想到的就是加l event listener里面写可能会比较方便的改动index
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
自己的小博客,刚弄完简单的搜索,你可以看看,我是放在模型的saved事件里 http://notes.lzis.me/posts/5
@largezhou 非常感谢,我本来是想在boot里面实现下update,感觉你使用trait也很好,再次感谢
目前想到的就是加l event listener里面写可能会比较方便的改动index