Przeglądaj źródła

三个作废接口

lizhen_gitee 4 miesięcy temu
rodzic
commit
7cdbf8f26b

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

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

+ 1 - 1
application/api/controller/Player.php

@@ -18,7 +18,7 @@ class Player extends Api
 
     //给选手投票
     public function record(){
-//        $this->error('接口作废');
+        $this->error('接口作废');
         if(!$this->apiLimit('操作太快了,休息一下吧'));
 
         $player_id = input('player_id','');

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

@@ -87,7 +87,7 @@ class Question extends Api
      */
     public function submit()
     {
-//        $this->error('接口作废');
+        $this->error('接口作废');
         if(!$this->apiLimit('操作太快了,休息一下吧'));
 
         //上次绑定选手的时间不是今天