4.0日常更新
This commit is contained in:
@@ -18,6 +18,10 @@ class Admin {
|
||||
protected $data = [];
|
||||
|
||||
public function handle($request, \Closure $next) {
|
||||
$request->pageConfig = array(
|
||||
'list_rows' => $request->param('limit', 20),
|
||||
'page' => $request->param('page', 1)
|
||||
);
|
||||
$response = $next($request);
|
||||
|
||||
if (is_array($response->getData())) {
|
||||
|
||||
Reference in New Issue
Block a user