From 81b9994dc7575554b718dbf8a9b9039949693836 Mon Sep 17 00:00:00 2001 From: Dai Date: Tue, 23 Jul 2024 08:50:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?h5=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/h5/controller/IndexController.php | 20 -------------------- app/{h5 => }/view/student/index.html | 0 app/{h5 => }/view/teacher/index.html | 0 config/route.php | 10 ++++++++-- 4 files changed, 8 insertions(+), 22 deletions(-) delete mode 100644 app/h5/controller/IndexController.php rename app/{h5 => }/view/student/index.html (100%) rename app/{h5 => }/view/teacher/index.html (100%) diff --git a/app/h5/controller/IndexController.php b/app/h5/controller/IndexController.php deleted file mode 100644 index 3b8264d..0000000 --- a/app/h5/controller/IndexController.php +++ /dev/null @@ -1,20 +0,0 @@ - Date: Tue, 23 Jul 2024 08:55:15 +0800 Subject: [PATCH 2/2] h5 --- config/route.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/route.php b/config/route.php index b4d5ab4..0ea8822 100644 --- a/config/route.php +++ b/config/route.php @@ -21,9 +21,7 @@ Route::any('/h5/student', function (){ return view('student/index'); }); Route::any('/h5/teacher', function (){ - Route::any('/h5/teacher', function (){ - return view('teacher/index'); - }); + return view('teacher/index'); });