lizhen_gitee преди 2 дни
родител
ревизия
ae57413df9
променени са 2 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 2 2
      application/api/controller/Question.php
  2. 2 1
      application/index/controller/Index.php

+ 2 - 2
application/api/controller/Question.php

@@ -34,7 +34,7 @@ class Question extends Api
 
         //上次绑定选手的时间不是今天
         if(empty($this->auth->bind_jigou_id)){
-            $this->error('先绑定工会再答题',null,2);
+            $this->error('先绑定单位再答题',null,2);
         }
 
         //今天,总答题次数
@@ -92,7 +92,7 @@ class Question extends Api
 
         //上次绑定选手的时间不是今天
         if(empty($this->auth->bind_jigou_id)){
-            $this->error('先绑定工会再答题',null,2);
+            $this->error('先绑定单位再答题',null,2);
         }
 
         //检查今日答题次数

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

@@ -14,7 +14,8 @@ class Index extends Controller
 
     public function index()
     {
-        $this->redirect('/h5');
+        exit;
+//        $this->redirect('/h5');
     }
 
 }