lizhen_gitee пре 4 месеци
родитељ
комит
eef7b6a1d1
2 измењених фајлова са 5 додато и 3 уклоњено
  1. 1 0
      application/api/controller/Jigou.php
  2. 4 3
      application/index/controller/Index.php

+ 1 - 0
application/api/controller/Jigou.php

@@ -36,6 +36,7 @@ class Jigou extends Api
 
     //用户绑定选手
     public function bind_jigou(){
+        exit;
         $jigou_id = input('jigou_id',0);
 
         $data = [

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

@@ -2,9 +2,10 @@
 
 namespace app\index\controller;
 
-use app\common\controller\Frontend;
+//use app\common\controller\Frontend;
+use think\Controller;
 
-class Index extends Frontend
+class Index extends Controller
 {
 
     protected $noNeedLogin = '*';
@@ -13,7 +14,7 @@ class Index extends Frontend
 
     public function index()
     {
-        return $this->view->fetch();
+        $this->redirect('/admin.php');
     }
 
 }