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