lizhengwei

jira:NYJ-1540 desc: handle replay_id

@@ -62,11 +62,12 @@ class FootballReplayMatch: @@ -62,11 +62,12 @@ class FootballReplayMatch:
62 """ 62 """
63 task_id = data.get("id") 63 task_id = data.get("id")
64 match_id = data.get("match_id") 64 match_id = data.get("match_id")
65 - replay_id = replay_info.get('id') 65 +
66 matched_event_id = None 66 matched_event_id = None
67 67
68 # 该时间段附近是否有进球事件 68 # 该时间段附近是否有进球事件
69 replay_info = data['replay'] 69 replay_info = data['replay']
  70 + replay_id = replay_info.get('id')
70 live_events = data['events'] 71 live_events = data['events']
71 goal_live_events = [e for e in live_events if str(e.get('type', '')) == '1'] 72 goal_live_events = [e for e in live_events if str(e.get('type', '')) == '1']
72 73