浏览代码

异常处理

彭俊 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']);