$order->load ('items.product') 是什么意思呢;
// Laravel 会默认执行监听器的 handle 方法,触发的事件会作为 handle 方法的参数
public function handle(OrderPaid $event)
{
// 从事件对象中取出对应的订单
$order = $event->getOrder();
// 预加载商品数据
$order->load('items.product');
推荐文章: