weizong song 2 years ago
parent 8c40e85a35
commit 3b5063a302

@ -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()

Loading…
Cancel
Save