Toggle navigation
Toggle navigation
This project
Loading...
Sign in
lizhengwei
/
aigc-embedding-service
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
lizhengwei
2026-05-21 13:48:09 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5a6478d4d1d9226d2c6b0270646a99e68648afd0
5a6478d4
1 parent
47f59224
jira:NYJ-1540 desc: handle replay_id
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/football_replay_match/core/api.py
src/football_replay_match/core/api.py
View file @
5a6478d
...
...
@@ -62,11 +62,12 @@ class FootballReplayMatch:
"""
task_id
=
data
.
get
(
"id"
)
match_id
=
data
.
get
(
"match_id"
)
replay_id
=
replay_info
.
get
(
'id'
)
matched_event_id
=
None
# 该时间段附近是否有进球事件
replay_info
=
data
[
'replay'
]
replay_id
=
replay_info
.
get
(
'id'
)
live_events
=
data
[
'events'
]
goal_live_events
=
[
e
for
e
in
live_events
if
str
(
e
.
get
(
'type'
,
''
))
==
'1'
]
...
...
Please
register
or
login
to post a comment