From 6264b24a9c357dd69c259612f785c8522b468724 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Sat, 11 Nov 2023 09:20:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/IndexController.php | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 app/index/controller/IndexController.php diff --git a/app/index/controller/IndexController.php b/app/index/controller/IndexController.php new file mode 100644 index 00000000..e28c2036 --- /dev/null +++ b/app/index/controller/IndexController.php @@ -0,0 +1,29 @@ +getRootPath() . 'public/admin/index.html'; + if (file_exists($template)) { + return view($template); + } + return JsonService::success($name); + } + + +}