|
|
@@ -630,6 +630,12 @@ where a.match_id = b.match_id and a.id = b.id ";
|
|
|
|
|
|
$list = array();
|
|
|
foreach ($oddsData as $key=>$item){
|
|
|
+ //追加所属赔率状态
|
|
|
+ $item['oddsType'] = '';
|
|
|
+ if($oddsType == 'StRollBall'){
|
|
|
+ $item['oddsType'] = 'StRollBall';
|
|
|
+ }
|
|
|
+
|
|
|
$item['team'] = '';
|
|
|
if(strpos($item['odds_code'],'home') !== false) {
|
|
|
$item['team'] = 'home';
|
|
|
@@ -658,7 +664,7 @@ where a.match_id = b.match_id and a.id = b.id ";
|
|
|
'match_score'=>$matchData->match_score,
|
|
|
'p_code_array'=> $p_code_array,
|
|
|
'result_mark'=>$matchData->result_mark,
|
|
|
- 'oddsData'=>$oddsData,
|
|
|
+ 'oddsData'=>$list,
|
|
|
'league' => $league,
|
|
|
];
|
|
|
Render($data, '1', lang('Tips','Sports')->get('success'));
|