group(function () use ($router){ $router->resource('message', '\catchAdmin\message\controller\Message'); $router->post('message/list', '\catchAdmin\message\controller\Message@list'); });