mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修正
This commit is contained in:
@@ -960,7 +960,7 @@ class Query
|
|||||||
{
|
{
|
||||||
$config = array_merge(Config::get('paginate'), $config);
|
$config = array_merge(Config::get('paginate'), $config);
|
||||||
$listRows = $listRows ?: $config['list_rows'];
|
$listRows = $listRows ?: $config['list_rows'];
|
||||||
$class = strpos($config['type'], '\\') ? $config['type'] : '\\think\\paginator\\driver\\') . ucwords($config['type']);
|
$class = strpos($config['type'], '\\') ? $config['type'] : '\\think\\paginator\\driver\\' . ucwords($config['type']);
|
||||||
$page = isset($config['page']) ? (int) $config['page'] : call_user_func([
|
$page = isset($config['page']) ? (int) $config['page'] : call_user_func([
|
||||||
$class,
|
$class,
|
||||||
'getCurrentPage',
|
'getCurrentPage',
|
||||||
|
|||||||
Reference in New Issue
Block a user