admin管理员组

文章数量:1632659

在route/router.php下添加以下代码

use think\facade\Route;
Route::get('/', 'index/index/index');

然后再访问http://localhost/tp5.1/public就不会再报路由未定义的错误了

本文标签: 路由入口文件INDEXPHP