彭俊 6 vuotta sitten
vanhempi
commit
76b892e5f7

+ 1 - 0
app/Http/Model/StBqResult.php

@@ -286,6 +286,7 @@ class StBqResult extends Model
                 $match_ids[] = $v['id'];
             }
         }
+        if(empty($match_ids)) return Response::success();
 
         $match_ids_str = implode(",", $match_ids);
          // 组装sql

+ 1 - 0
app/Http/Model/StLqResult.php

@@ -286,6 +286,7 @@ class StLqResult extends Model
                 $match_ids[] = $v['id'];
             }
         }
+        if(empty($match_ids)) return Response::success();
 
         $match_ids_str = implode(",", $match_ids);
 

+ 1 - 0
app/Http/Model/StWqResult.php

@@ -301,6 +301,7 @@ class StWqResult extends Model
                 $match_ids[] = $v['id'];
             }
         }
+        if(empty($match_ids)) return Response::success();
 
         $match_ids_str = implode(",", $match_ids);
 

+ 1 - 0
app/Http/Model/StZqResult.php

@@ -353,6 +353,7 @@ class StZqResult extends Model
                 $match_ids[] = $v['id'];
             }
         }
+        if(empty($match_ids)) return Response::success();
 
         $match_ids_str = implode(",", $match_ids);