From 5c8072e0b855b5056d3c0b26650820e108f94f9e Mon Sep 17 00:00:00 2001 From: wuyanwen Date: Tue, 21 Jan 2020 17:55:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catch/user/model/Users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catch/user/model/Users.php b/catch/user/model/Users.php index e0f9a28..1be7e98 100644 --- a/catch/user/model/Users.php +++ b/catch/user/model/Users.php @@ -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); } /**