Browse Source

异常处理

彭俊 6 years ago
parent
commit
1ac0ec8f1d
1 changed files with 1 additions and 3 deletions
  1. 1 3
      app/Http/Controllers/Api/WriteSportsController.php

+ 1 - 3
app/Http/Controllers/Api/WriteSportsController.php

@@ -516,11 +516,9 @@ class WriteSportsController extends BaseController{
             $s_match_ids = [];
             foreach($matchData as $k=>$v){
                 $identity[] = $v['uuid'];
-                $s_match_ids[] = $v['match_id'];
+                $s_match_ids[] = $v['match_id']; 
             }
 
-            
-
             //====验证 赛事 所属 联赛 是否存在====
             $identity = array_unique($identity);
             sort($identity);