This commit is contained in:
Dai 2024-07-24 11:35:25 +08:00
parent 185ed1ab00
commit c975a334bf
2 changed files with 4 additions and 5 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/tests/tmp
/tests/.phpunit.result.cache
/certificate/
/public/h5/

View File

@ -17,11 +17,9 @@ use Webman\Route;
// 默认路由
Route::any('/', [\plugin\admin\app\controller\IndexController::class, 'index']);
Route::any('/h5/student', function (){
return view('student/index');
});
Route::any('/h5/teacher', function (){
return view('teacher/index');
Route::any('/h5', function (){
// return view(public_path() . '/h5');
return view('../../public/h5/index');
});