彭俊 před 6 roky
rodič
revize
d4ebe86e61

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

@@ -402,8 +402,8 @@ where a.match_id = b.match_id and a.id = b.id ";
                         $match_odds[$kk]['match_date'] = $vv['match_date'];
                         $match_odds[$kk]['match_time'] = $vv['match_time'];
                         $match_odds[$kk]['tag'] = $vv['tag'];
-                        $match_odds[$kk]['a_time'] = $vv['a_time']?:$this->commonFunction->getMatchTime($vv['match_date'],$vv['match_time']);
-                        $match_odds[$kk]['match_process'] = $vv['match_process']?:$this->commonFunction->getMatchProcess( $match_odds[$kk]['a_time'],$game_code);
+                        $match_odds[$kk]['a_time'] = $vv['a_time'];//?:$this->commonFunction->getMatchTime($vv['match_date'],$vv['match_time']);
+                        $match_odds[$kk]['match_process'] = $vv['match_process'];//?:$this->commonFunction->getMatchProcess( $match_odds[$kk]['a_time'],$game_code);
                         //如果是网球结果
                         if($game_code == 'wq'){
                             $match_odds[$kk]['home_player_score'] = $vv['home_player_score']?:0;

+ 6 - 6
Application/Sports/Model/St_zq_competition.php

@@ -143,8 +143,8 @@ class St_zq_competition extends Model
                                 $matchData[$k]['home_score'] = $vv->home_score?:0;
                                 $matchData[$k]['guest_score'] = $vv->guest_score?:0;
                             }
-                            $matchData[$k]['a_time'] = $vv->a_time?:C()->get('commonFunction')->getMatchTime($v['match_date'],$v['match_time']);
-                            $matchData[$k]['match_process'] = $vv->match_process?:C()->get('commonFunction')->getMatchProcess( $matchData[$k]['a_time'],$ret['game_code']);
+                            $matchData[$k]['a_time'] = $vv->a_time;//?:C()->get('commonFunction')->getMatchTime($v['match_date'],$v['match_time']);
+                            $matchData[$k]['match_process'] = $vv->match_process;//?:C()->get('commonFunction')->getMatchProcess( $matchData[$k]['a_time'],$ret['game_code']);
                         }
                     }
                 }
@@ -157,8 +157,8 @@ class St_zq_competition extends Model
                         $matchData[$k]['home_score'] = 0;
                         $matchData[$k]['guest_score'] = 0;
                     }
-                    $matchData[$k]['a_time'] = C()->get('commonFunction')->getMatchTime($v['match_date'],$v['match_time']);
-                    $matchData[$k]['match_process'] = C()->get('commonFunction')->getMatchProcess( $matchData[$k]['a_time'],$ret['game_code']);
+                    $matchData[$k]['a_time'] = 0;//C()->get('commonFunction')->getMatchTime($v['match_date'],$v['match_time']);
+                    $matchData[$k]['match_process'] = '';//C()->get('commonFunction')->getMatchProcess( $matchData[$k]['a_time'],$ret['game_code']);
                 }
             }
 
@@ -173,8 +173,8 @@ class St_zq_competition extends Model
                         $matchData[$k]['home_score'] = 0;
                         $matchData[$k]['guest_score'] = 0;
                     }
-                    $matchData[$k]['a_time'] = C()->get('commonFunction')->getMatchTime($v['match_date'],$v['match_time']);
-                    $matchData[$k]['match_process'] = C()->get('commonFunction')->getMatchProcess( $matchData[$k]['a_time'],$ret['game_code']);
+                    $matchData[$k]['a_time'] = 0;// C()->get('commonFunction')->getMatchTime($v['match_date'],$v['match_time']);
+                    $matchData[$k]['match_process'] = '';//C()->get('commonFunction')->getMatchProcess( $matchData[$k]['a_time'],$ret['game_code']);
                 }
             }
         }