diff --git a/app/h5/controller/IndexController.php b/app/h5/controller/IndexController.php new file mode 100644 index 0000000..3b8264d --- /dev/null +++ b/app/h5/controller/IndexController.php @@ -0,0 +1,20 @@ + + + + + 恭喜,站点创建成功【学生】! + + + +
+

恭喜, 站点创建成功 student!

+

这是默认index.html,本页面由系统自动生成

+ +
+ + \ No newline at end of file diff --git a/app/h5/view/teacher/index.html b/app/h5/view/teacher/index.html new file mode 100644 index 0000000..b7e2d3c --- /dev/null +++ b/app/h5/view/teacher/index.html @@ -0,0 +1,39 @@ + + + + + 恭喜,站点创建成功【教师】! + + + +
+

恭喜, 站点创建成功 teacher!

+

这是默认index.html,本页面由系统自动生成

+ +
+ + \ No newline at end of file diff --git a/config/route.php b/config/route.php index 6a0402e..5d92a19 100644 --- a/config/route.php +++ b/config/route.php @@ -13,9 +13,13 @@ */ use Webman\Route; + // 默认路由 Route::any('/', [\plugin\admin\app\controller\IndexController::class, 'index']); +//Route::any('/h5/student', [\app\h5\controller\IndexController::class, 'student']); +//Route::any('/h5/teacher', [\app\h5\controller\IndexController::class, 'teacher']); +