Explorar o código

修复篮球滚球数据

彭俊 %!s(int64=6) %!d(string=hai) anos
pai
achega
5c4be9b2a7
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Application/Sports/Controller/MatchListWeb.php

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

@@ -279,9 +279,11 @@ 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)) {
+        
+        if(empty($p_code) and $type != 'StRollBall') {
             return $oddsCodeNum;
         }