observer afterCommit 不生效
我记得Observer里面可以填写
public $afterCommit = true;
这个属性可以影响影响created事件吗,还是会影响所有-ed事件
推荐文章: