Browse Source

送礼物测试抗压

lizhen_gitee 1 year ago
parent
commit
12d1d2a750
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/Party.php

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

@@ -1590,7 +1590,7 @@ class Party extends Common
         $is_back = $this->request->request("is_back",0);
 
         // 接口防并发
-        if($is_back){
+       /* if($is_back){
             if (!$this->apiLimit(50, 1000)) {
                 //1000毫秒50次
                 $this->error(__('Operation frequently'));
@@ -1600,7 +1600,7 @@ class Party extends Common
                 //1000毫秒10次
                 $this->error(__('Operation frequently'));
             }
-        }
+        }*/
 
         //送礼物权限
         if($this->auth->power['give_gift'] == 1){