From 4cc9b9e6fe518f7aba208af52af1458e968f7f6d Mon Sep 17 00:00:00 2001 From: weizong song Date: Mon, 6 May 2024 10:56:57 +0800 Subject: [PATCH] up --- app/Models/OrderItems.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/OrderItems.php b/app/Models/OrderItems.php index 350ffce..3a906f4 100755 --- a/app/Models/OrderItems.php +++ b/app/Models/OrderItems.php @@ -44,7 +44,7 @@ class OrderItems extends SoftDeletesModel public function product() { - return $this->hasOneThrough(Product::class, ProductItems::class, "id", "id", "product_item_id", "product_id")->withTrashedParents(); + return $this->hasOneThrough(Product::class, ProductItems::class, "id", "id", "product_item_id", "product_id"); } public function productItem()