소스 검색

异常处理

彭俊 6 년 전
부모
커밋
13294494c2
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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']);