weizong song 1 year ago
parent 70017af4f8
commit 52b82b701c

@ -202,7 +202,7 @@ class Orders extends SoftDeletesModel
public function wechatpayAccount()
{
return $this->hasOneThrough(WechatpayAccount::class, Orders::class, "id", "id", "order_id", "wechatpay_account_id");
return $this->hasOneThrough(WechatpayAccount::class, Project::class, "id", "id", "order_id", "wechatpay_account_id");
}
public function bed()

Loading…
Cancel
Save