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