使用下面代码 并且和paginate($row,false, [
'page' => $this->request->param('page/d', 1),
'tid' => $this->request->param('tid/d', 1),
'path' => 'list_{$typeid}_[PAGE].html'
])
一起使用
一起使用
Route::get('news/list<type>-<page>','news/list',[],['type'=>'\d+','page'=>'\d+']);