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);