彭俊 6 жил өмнө
parent
commit
69017f2446

+ 3 - 2
Application/Sports/Controller/MatchListWeb.php

@@ -274,7 +274,9 @@ where a.match_id = b.match_id and a.id = b.id ";
 
         //赔率数据
         $oddsCodeNum = $this->getOddsData($game_code,$models['model_odds'],$match_ids,$lg_ids,$p_code,$type);
-        if(empty($p_code)) return $oddsCodeNum;
+        if(empty($p_code)) {
+            return $oddsCodeNum;
+        }
         
         //处理联赛/赛事/赔率 数据
         $data = $this->get_l_m_o($p_code,$matchNum,$oddsCodeNum,$models['model_result_record'],$game_code);
@@ -577,7 +579,6 @@ where a.match_id = b.match_id and a.id = b.id ";
         }
 
         sort($oddsCodeNum);
-        // Render($oddsCodeNum, '1', lang('Tips','Sports')->get('success'));
         return $oddsCodeNum;
     }