关于模型关联的问题
在模型关联中,一直不是很理解 $item->productSku 和$item->productSku() 在 用法有什么区别?
为什么不是 $item->productSku()->addStock($item->amount)
推荐文章: