我正在尝试使用雄辩的方法从表中删除记录 所以当我这样做
$this->model->find($product_attribute_value_id)->delete();
我收到此异常
Serialization of 'Closure' is not allowed
我也尝试过
$this->model->where('product_attribute_value_id',$product_attribute_value_id)->delete();
和
$this->model->where('product_attribute_value_id',$product_attribute_value_id)->first()->delete();
仍然给我同样的例外