修改分页
This commit is contained in:
parent
9f9a83f157
commit
5c8072e0b8
@ -56,7 +56,7 @@ class Users extends CatchModel
|
||||
->catchSearch()
|
||||
->catchLeftJoin(Department::class, 'id', 'department_id', ['department_name'])
|
||||
->order('users.id', 'desc')
|
||||
->paginate($search['limit'] ?? $this->limit);
|
||||
->paginate($search['limit'] ?? parent::LIMIT);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user