Browse Source

关闭前端首页

lizhen_gitee 5 tháng trước cách đây
mục cha
commit
2b3ecee7bb
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      application/index/controller/Index.php

+ 3 - 1
application/index/controller/Index.php

@@ -3,9 +3,10 @@
 namespace app\index\controller;
 
 use app\common\controller\Frontend;
+use think\Controller;
 use think\Db;
 
-class Index extends Frontend
+class Index extends Controller
 {
 
     protected $noNeedLogin = '*';
@@ -14,6 +15,7 @@ class Index extends Frontend
 
     public function index()
     {
+        exit;
         return $this->view->fetch();
     }