彭俊 6 жил өмнө
parent
commit
c2934672ba

+ 4 - 4
app/Models/SoccerLeague.php

@@ -14,10 +14,10 @@ class SoccerLeague extends BaseModel {
 
     function getinfo($list = 10, $page, $where = '')
     {
-        $source = \App\Models\Setinfo::where('id','1000')->first();
-        if($source->infocontent != '混合数据'){
-            $where[] = array('st_zq_local_league.source', '=', $source->infocontent);
-        }
+        // $source = \App\Models\Setinfo::where('id','1000')->first();
+        // if($source->infocontent != '混合数据'){
+        //     $where[] = array('st_zq_local_league.source', '=', $source->infocontent);
+        // }
         if (is_array ($where) && count ($where) > 0){
             $data = $this
                 //->join('st_zq_local_league','st_zq_league.id','=','st_zq_local_league.lg_id')