4.0日常更新

This commit is contained in:
2019-10-08 16:34:17 +08:00
parent 07faf60918
commit e8795716ec
16 changed files with 177 additions and 211 deletions

View File

@@ -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())) {