@@ -137,7 +137,7 @@ |
||
| 137 | 137 | { |
| 138 | 138 | $param = new RequestData($request); |
| 139 | 139 | |
| 140 | - $items = $param->post('items', []); |
|
| 140 | + $items = $param->post('items', []); |
|
| 141 | 141 | if (empty($items)) { |
| 142 | 142 | return new RedirectResponse( |
| 143 | 143 | $this->routeHelper->generateUrl('role_list') |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | */ |
| 80 | 80 | public function addRoutes(Router $router): void |
| 81 | 81 | { |
| 82 | - $router->group('/roles', function (Router $router) { |
|
| 82 | + $router->group('/roles', function(Router $router) { |
|
| 83 | 83 | $router->get('', ListAction::class, 'role_list'); |
| 84 | 84 | $router->get('/detail/{id:i}', DetailAction::class, 'role_detail'); |
| 85 | 85 | $router->post('/batch', BatchAction::class, 'role_batch'); |