first commit
This commit is contained in:
16
application/extra/paginate.php
Normal file
16
application/extra/paginate.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// +------------------------------------------------+
|
||||
// |http://www.cjango.com |
|
||||
// +------------------------------------------------+
|
||||
// | 修复BUG不是一朝一夕的事情,等我喝醉了再说吧! |
|
||||
// +------------------------------------------------+
|
||||
// | Author: 小陈叔叔 <Jason.Chen> |
|
||||
// +------------------------------------------------+
|
||||
use think\Request;
|
||||
|
||||
return [
|
||||
'type' => '\tools\Pager',
|
||||
'list_rows' => Request::instance()->get('pageSize', 15),
|
||||
'var_page' => 'page',
|
||||
'query' => Request::instance()->get(),
|
||||
];
|
||||
Reference in New Issue
Block a user