$router->get('/', function () use ($router) {
return config('options.author');
});
$router->get('/user/{user_id}', function($user_id) {
return $user_id;
});
$router->group(['namespace' => 'Admin',"prefix"=>'admin'], function($router) {
$router->get('user/info', "UserController@info");
});
手机扫一扫
移动阅读更方便
你可能感兴趣的文章