瀏覽代碼

关闭前端首页

lizhen_gitee 7 月之前
父節點
當前提交
2b3ecee7bb
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      application/index/controller/Index.php

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

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