|
|
@@ -197,7 +197,7 @@ class MatchList extends Controller {
|
|
|
$data = $this->getMatchInfo($where,$Orwhere,$where_search,$game_code);
|
|
|
break;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//根据赛事ID获取赔率数据
|
|
|
$matchData = [];
|
|
|
foreach($data as $k => $v){
|
|
|
@@ -205,18 +205,21 @@ class MatchList extends Controller {
|
|
|
$matchData[] =$vv;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ $oddsTypeWhere = [[$getModels['model_odds'].'.is_stringscene','=',0]];
|
|
|
if($game_code == 'zq'){
|
|
|
- $matchData = $this->getOddsData->getOddsZQ($matchData,$st_odds,$this->source);
|
|
|
+ $matchData = $this->getOddsData->getOddsZQ($matchData,$st_odds,$this->source,$oddsTypeWhere);
|
|
|
}
|
|
|
if($game_code == 'lq'){
|
|
|
- $matchData = $this->getOddsData->getOddsLQ($matchData,$st_odds,$this->source);
|
|
|
+ $matchData = $this->getOddsData->getOddsLQ($matchData,$st_odds,$this->source,$oddsTypeWhere);
|
|
|
}
|
|
|
if($game_code == 'bq'){
|
|
|
- $matchData = $this->getOddsData->getOddsBQ($matchData,$st_odds,$this->source);
|
|
|
+ $matchData = $this->getOddsData->getOddsBQ($matchData,$st_odds,$this->source,$oddsTypeWhere);
|
|
|
}
|
|
|
if($game_code == 'wq'){
|
|
|
- $matchData = $this->getOddsData->getOddsWQ($matchData,$st_odds,$this->source);
|
|
|
+ $matchData = $this->getOddsData->getOddsWQ($matchData,$st_odds,$this->source,$oddsTypeWhere);
|
|
|
}
|
|
|
+
|
|
|
foreach($data as $k => $v){
|
|
|
$v['match_info'] = [];
|
|
|
foreach($matchData as $kk=>$vv){
|