From acb4ecbe0dd3752ea197fba5ea18e7c35e33bcb5 Mon Sep 17 00:00:00 2001 From: ztt <835303992@qq.com> Date: Thu, 11 Apr 2024 00:40:08 +0800 Subject: [PATCH] 1 --- application/admin/model/shopro/user/WalletLog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/model/shopro/user/WalletLog.php b/application/admin/model/shopro/user/WalletLog.php index 50d62ca..d110b1a 100755 --- a/application/admin/model/shopro/user/WalletLog.php +++ b/application/admin/model/shopro/user/WalletLog.php @@ -86,7 +86,7 @@ class WalletLog extends Common } public function agent() { - return $this->belongsTo(Agent::class, 'user_id', 'user_id')->setEagerlyType(0); + return $this->belongsTo(Agent::class, 'user_id', 'user_id', [], 'LEFT')->setEagerlyType(0); } public function user() {