update
This commit is contained in:
parent
1fbcb7cbcf
commit
dd4875df9c
@ -45,6 +45,7 @@ class WithdrawLists extends BaseAdminDataLists implements ListsSearchInterface
|
||||
public function lists(): array
|
||||
{
|
||||
$lists = Withdraw::where($this->searchWhere)
|
||||
->with('user')
|
||||
->where($this->queryWhere())
|
||||
->order('id', 'desc')
|
||||
->limit($this->limitOffset, $this->limitLength)
|
||||
|
@ -14,7 +14,7 @@ class Withdraw extends Model
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(User::class, 'user_id', 'id')->bind(['account', 'nickname', 'avatar']);
|
||||
return $this->belongsTo(User::class, 'user_id', 'id')->bind(['account', 'nickname', 'avatar', 'company_id']);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user