mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
优化分页参数;
This commit is contained in:
@@ -64,7 +64,11 @@ class Index extends Common
|
||||
|
||||
$list_post = $model_post->paginate([
|
||||
'url' => 'Index/index',
|
||||
'query' => $this->request->get(),
|
||||
'query' => [
|
||||
'category_id' => $this->request->param('category_id'),
|
||||
'sub_category_id' => $this->request->param('sub_category_id'),
|
||||
'page' => $this->request->param('page'),
|
||||
],
|
||||
'list_rows' => 10
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user