h5
This commit is contained in:
parent
185ed1ab00
commit
c975a334bf
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@
|
|||||||
/tests/tmp
|
/tests/tmp
|
||||||
/tests/.phpunit.result.cache
|
/tests/.phpunit.result.cache
|
||||||
/certificate/
|
/certificate/
|
||||||
|
/public/h5/
|
||||||
|
@ -17,11 +17,9 @@ use Webman\Route;
|
|||||||
// 默认路由
|
// 默认路由
|
||||||
Route::any('/', [\plugin\admin\app\controller\IndexController::class, 'index']);
|
Route::any('/', [\plugin\admin\app\controller\IndexController::class, 'index']);
|
||||||
|
|
||||||
Route::any('/h5/student', function (){
|
Route::any('/h5', function (){
|
||||||
return view('student/index');
|
// return view(public_path() . '/h5');
|
||||||
});
|
return view('../../public/h5/index');
|
||||||
Route::any('/h5/teacher', function (){
|
|
||||||
return view('teacher/index');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user