ztt 8 months ago
parent 1604562efd
commit acb4ecbe0d
  1. 2
      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()
{

Loading…
Cancel
Save