Эх сурвалжийг харах

获取状态下球类数据

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

+ 1 - 0
Application/Sports/Controller/MatchList.php

@@ -677,6 +677,7 @@ class  MatchList extends Controller {
                         ->join($matchModel['model_match'],$matchModel['model_match'].'.lg_id',$matchModel['model_league'].'.lg_id')
                         ->where($matchModel['model_match'].'.source',$this->source['source'])
                         ->where($where)
+                        ->where([[$matchModel['model_league'].'.name_chinese','!=','']])
                         ->count("*");
                     //获取满足状态的球类/去除冠军类
                     if($matchNum != 0 and $type['game_code']!='gj'){