彭俊 6 éve
szülő
commit
13294494c2
1 módosított fájl, 4 hozzáadás és 4 törlés
  1. 4 4
      Biz/Match/GetmatchData.php

+ 4 - 4
Biz/Match/GetmatchData.php

@@ -125,7 +125,7 @@ class GetmatchData {
                         }
                         $vvv['mark'] = $game_code.'-'.$vvv['match_id'].'-'.$vvv['p_code'].'-'.$vvv['odds_code'].'-'.$vvv['sort'];
 
-                        if ($vv['match_id'] == $vvv['match_id'] and $vvv['sort']==0) {
+                        if ($vv['match_id'] === $vvv['match_id'] and $vvv['sort']==0) {
                             //获取数据源ID
                             $vvv['sourceID'] = $this->commonFunction->getSourceID($vvv['source']);
                             unset($vvv['source']);
@@ -185,7 +185,7 @@ class GetmatchData {
                             $vvv['oddsType'] = 'StRollBall';
                         }
                         $vvv['mark'] = $game_code.'-'.$vvv['match_id'].'-'.$vvv['p_code'].'-'.$vvv['odds_code'].'-'.$vvv['sort'];
-                        if ($vv['match_id'] == $vvv['match_id'] and $vvv['sort']==0) {
+                        if ($vv['match_id'] === $vvv['match_id'] and $vvv['sort']==0) {
                             //获取数据源ID
                             $vvv['sourceID'] = $this->commonFunction->getSourceID($vvv['source']);
                             unset($vvv['source']);
@@ -243,7 +243,7 @@ class GetmatchData {
                         }
                         $vvv['mark'] = $game_code.'-'.$vvv['match_id'].'-'.$vvv['p_code'].'-'.$vvv['odds_code'].'-'.$vvv['sort'];
 
-                        if ($vv['match_id'] == $vvv['match_id'] and $vvv['sort']==0) {
+                        if ($vv['match_id'] === $vvv['match_id'] and $vvv['sort']==0) {
                             //获取数据源ID
                             $vvv['sourceID'] = $this->commonFunction->getSourceID($vvv['source']);
                             unset($vvv['source']);
@@ -289,7 +289,7 @@ class GetmatchData {
                         }
                         $vvv['mark'] = $game_code.'-'.$vvv['match_id'].'-'.$vvv['p_code'].'-'.$vvv['odds_code'].'-'.$vvv['sort'];
 
-                        if ($vv['match_id'] == $vvv['match_id'] and $vvv['sort']==0) {
+                        if ($vv['match_id'] === $vvv['match_id'] and $vvv['sort']==0) {
                             //获取数据源ID
                             $vvv['sourceID'] = $this->commonFunction->getSourceID($vvv['source']);
                             unset($vvv['source']);