We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
框架默认,配置了路由Route::get('/', 'IndexController@index');, 只需要修改app\Http\Controller\IndexController下的index()方法的内容即可。
Route::get('/', 'IndexController@index');
public function index(){ return 'Hello World!'; }
浏览器访问http://localhost/ 即可得到Hello World
http://localhost/
There was an error while loading. Please reload this page.