From ac74827130804d87d7aab74d1d1f023fcbef62b2 Mon Sep 17 00:00:00 2001 From: wuyanwen Date: Tue, 21 Jan 2020 17:56:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=86=99=E5=88=86=E9=A1=B5=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/CatchQuery.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/extend/catcher/CatchQuery.php b/extend/catcher/CatchQuery.php index 161251c..9284fe5 100644 --- a/extend/catcher/CatchQuery.php +++ b/extend/catcher/CatchQuery.php @@ -1,7 +1,9 @@ param('limit'); + + $listRows = $limit ? : CatchModel::LIMIT; + } + + return parent::paginate($listRows, $simple); // TODO: Change the autogenerated stub + } }