h5
This commit is contained in:
parent
185ed1ab00
commit
c975a334bf
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@
|
||||
/tests/tmp
|
||||
/tests/.phpunit.result.cache
|
||||
/certificate/
|
||||
/public/h5/
|
||||
|
@ -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');
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user