|
|
@@ -526,7 +526,7 @@ class MatchList extends Controller {
|
|
|
$p_code = $this->commonFunction->getOddsPcode($game_code);
|
|
|
|
|
|
$oddsData = lm($model_odds, 'Sports')
|
|
|
- ->select('sort','p_code','id','odds_only','odds_code',$model_odds.'.status','odds','condition','sort','source','utime')
|
|
|
+ ->select('sort','p_code','id','match_id','odds_only','odds_code',$model_odds.'.status','odds','condition','sort','source','utime')
|
|
|
->where([$model_odds.'.match_id'=>$matchID,$model_odds.'.type'=>0])
|
|
|
->where($where)
|
|
|
->whereIn('p_code',$p_code)
|