Ejemplo n.º 1
0
 def get_selected_match(match):
     display_order = match.display_order
     ex_selected_match_id = match.id
     match = MatchService.get_match_info(match.match_id)
     match['display_order'] = display_order
     match['ex_selected_match_id'] = ex_selected_match_id
     return match
Ejemplo n.º 2
0
 def get_selected_match(match):
     match = MatchService.get_match_info(match.match_id)
     return match
Ejemplo n.º 3
0
 def get_match_info(match):
     match = MatchService.get_match_info(match.id)
     return match
Ejemplo n.º 4
0
 def get_match_info(match):
     lives = MatchLiveService.get_all(match_id=match.id)
     match = MatchService.get_match_info(match.id)
     match['lives'] = lives
     return match
Ejemplo n.º 5
0
 def get_match_info(match):
     match_id = match.id
     match = MatchService.get_match_info(match_id)
     match['isHaveLiveVideo'] = MatchService.isHaveLiveVideo(match_id)
     return match