彭俊 před 6 roky
rodič
revize
0f441ccffd
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 5 1
      Application/Sports/Controller/MatchList.php

+ 5 - 1
Application/Sports/Controller/MatchList.php

@@ -568,6 +568,8 @@ where a.match_id = b.match_id and a.id = b.id ";
                     $guest_score = $match_result_record[0]->guest_score?:0;
                     $matchData->match_score = $home_score.'-'.$guest_score;
                     $matchData->result_mark = $match_result_record[0]->result_mark;
+                   
+
                 }
 
                 //如果是网球
@@ -596,7 +598,8 @@ where a.match_id = b.match_id and a.id = b.id ";
                     $matchData->match_score = $home_score.'-'.$guest_score;
                     $matchData->result_mark = '';
                 }
-                $matchData->ptime = $match_result_record[0]->a_time?:0;
+                $matchData->ptime =  $match_result_record[0]->a_time;
+                $matchData->match_process =  $match_result_record[0]->match_process;
             }
 
             //赛事已结束
@@ -669,6 +672,7 @@ where a.match_id = b.match_id and a.id = b.id ";
                 'guest_team'=>$matchData->guest_team,
                 'match_time'=>$matchData->match_date." ".$matchData->match_time,
                 'match_ptime'=>$matchData->ptime,
+                'match_process'=>$matchData->match_process,
                 'match_score'=>$matchData->match_score,
                 'p_code_array'=> $p_code_array,
                 'result_mark'=>$matchData->result_mark,