Pārlūkot izejas kodu

关闭前端首页

lizhen_gitee 7 mēneši atpakaļ
vecāks
revīzija
2b3ecee7bb
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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();
     }