moonsflyer 9 月之前
父節點
當前提交
b4ec1fae72
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/index/controller/IndexController.php

+ 2 - 2
app/index/controller/IndexController.php

@@ -18,9 +18,9 @@ class IndexController extends BaseController
      */
     public function index($name = '你好,likeadmin')
     {
-        $template = app()->getRootPath() . 'public/pc/index.html';
+        $template = app()->getRootPath() . 'public/admin/index.html';
         if (Request::isMobile()) {
-            $template = app()->getRootPath() . 'public/mobile/index.html';
+            $template = app()->getRootPath() . 'public/admin/index.html';
         }
         if (file_exists($template)) {
             return view($template);