From 3b5063a3020c698c5d677baaf11925fbf541dbe5 Mon Sep 17 00:00:00 2001 From: weizong song Date: Wed, 1 Jan 2025 11:54:17 +0800 Subject: [PATCH] up --- app/Models/Orders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Orders.php b/app/Models/Orders.php index 4e35e57..3a2e799 100755 --- a/app/Models/Orders.php +++ b/app/Models/Orders.php @@ -202,7 +202,7 @@ class Orders extends SoftDeletesModel public function wechatpayAccount() { - return $this->hasOneThrough(WechatpayAccount::class, Project::class, "id", "id", "order_id", "wechatpay_account_id"); + return $this->hasOneThrough(WechatpayAccount::class, Project::class, "id", "id", "project_id", "wechatpay_account_id"); } public function bed()